summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-10-29 11:35:37 -0700
committerChih-Hung Hsieh <chh@google.com>2018-10-29 11:35:37 -0700
commit10e9835d0c370f84124427312fddc164d4a71a5a (patch)
treeb8a55376d028540bf238b9672566368736a60996
parent03e44a691e4fe7b87b8c356919f32b252963854d (diff)
downloadipacfg-mgr-10e9835d0c370f84124427312fddc164d4a71a5a.tar.gz
Allow implicit-fallthrough warnings in IPACM_Main.cpp.android-wear-8.0.0_r2
It will be a global error by default. Test: make checkbuild Bug: 112564944 Change-Id: I1a238297f83ebbab6b9dcae0130a009ca42c756e Exempt-From-Owner-Approval: do not block on new warnings
-rw-r--r--ipacm/src/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipacm/src/Android.mk b/ipacm/src/Android.mk
index 596e040..49285c5 100644
--- a/ipacm/src/Android.mk
+++ b/ipacm/src/Android.mk
@@ -33,6 +33,9 @@ LOCAL_CFLAGS += $(shell if [ -a $(filetoadd) ] ; then echo -include $(filetoadd)
filetoadd = bionic/libc/kernel/arch-arm/asm/byteorder.h
LOCAL_CFLAGS += $(shell if [ -a $(filetoadd) ] ; then echo -include $(filetoadd) ; fi ;)
+# Allow warnings 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 \