am abe3a35a: Add C++ compiler warning options

* commit 'abe3a35abfb95430bc1d5571c86ea749415d26e4':
  Add C++ compiler warning options
main
Ken Wakasa 2013-12-18 20:07:50 -08:00 committed by Android Git Automerger
commit d4c439746d
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ LATIN_IME_SRC_DIR := src
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR) LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR)
LOCAL_CFLAGS += -Werror -Wall -Wextra -Weffc++ -Wformat=2 -Wcast-qual -Wcast-align \ LOCAL_CFLAGS += -Werror -Wall -Wextra -Weffc++ -Wformat=2 -Wcast-qual -Wcast-align \
-Wwrite-strings -Wfloat-equal -Wpointer-arith -Winit-self -Wredundant-decls -Wno-system-headers -Wwrite-strings -Wfloat-equal -Wpointer-arith -Winit-self -Wredundant-decls \
-Woverloaded-virtual -Wstrict-null-sentinel -Wsign-promo -Wno-system-headers
ifeq ($(TARGET_ARCH), arm) ifeq ($(TARGET_ARCH), arm)
ifeq ($(TARGET_GCC_VERSION), 4.6) ifeq ($(TARGET_GCC_VERSION), 4.6)