summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-04 15:55:06 -0700
committerChih-Hung Hsieh <chh@google.com>2018-09-04 15:55:06 -0700
commit6572cd297b653161530ede9050b8e7f49d41abd7 (patch)
tree669be9ffe549d8de497f9bdad12087d2613f01a4
parent68d29651a7b1b7b81822d035d222202adcf5de5d (diff)
downloadopencv-6572cd297b653161530ede9050b8e7f49d41abd7.tar.gz
Suppress -Wimplicit-fallthrough.
-Wimplicit-fallthrough will be enabled globally. Test: build with global -Wimplicit-fallthrough. Change-Id: I546476b2bfa61ac2305f39cd3940f72eb4d34575
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index fe8970b..1ca997d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -68,6 +68,7 @@ LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%)
LOCAL_CFLAGS += \
-Wall -Werror \
+ -Wno-implicit-fallthrough \
-Wno-sizeof-pointer-memaccess \
-Wno-deprecated-register \
-Wno-sign-compare \