From abe3a35abfb95430bc1d5571c86ea749415d26e4 Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Wed, 18 Dec 2013 23:29:35 +0900 Subject: [PATCH] Add C++ compiler warning options Change-Id: I0d79d450c5cca887d02a1087128c1d3eb0bf0b7f --- native/jni/Android.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/native/jni/Android.mk b/native/jni/Android.mk index 7827db302..3b3da96cc 100644 --- a/native/jni/Android.mk +++ b/native/jni/Android.mk @@ -28,7 +28,8 @@ LATIN_IME_SRC_DIR := src LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR) 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_GCC_VERSION), 4.6)