summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-10-19 11:13:04 -0700
committerChih-Hung Hsieh <chh@google.com>2018-10-19 11:13:04 -0700
commit7f4b26c7ebce182a6e9eb3ea61afc1147cb970a1 (patch)
tree99da50ae5d314aa180a49f7b9d0daadb4b044f9d
parentc522e9ba52793d09d5c70441b3ae2f8cde56ebcc (diff)
downloadipacfg-mgr-7f4b26c7ebce182a6e9eb3ea61afc1147cb970a1.tar.gz
Allow implicit-fallthrough warnings locally.
It will be a global error by default. Test: make checkbuild Bug: 112564944 Change-Id: I1f3dd66f2c4d60ef4d7137b6e8b26fa61e9660a9 Exempt-From-Owner-Approval: do not block on new warnings
-rw-r--r--msm8998/ipacm/src/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/msm8998/ipacm/src/Android.mk b/msm8998/ipacm/src/Android.mk
index 22617dd..f569c35 100644
--- a/msm8998/ipacm/src/Android.mk
+++ b/msm8998/ipacm/src/Android.mk
@@ -51,6 +51,9 @@ LOCAL_CFLAGS += \
-Wno-unused-variable \
-Wno-writable-strings \
+# Allow implicit fallthroughs in IPACM_Main.cpp until they are fixed.
+LOCAL_CFLAGS += -Wno-error=implicit-fallthrough
+
LOCAL_SRC_FILES := IPACM_Main.cpp \
IPACM_EvtDispatcher.cpp \
IPACM_Config.cpp \