summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-06 17:53:53 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-09-06 17:53:53 -0700
commit45fe1a69580f7ff239878e4b29e292503b0340fa (patch)
tree2b0dcef6b366847d460d63b6a85a7de08ef0be8f
parent445d524f1ad5f103bd30fcf607683468d58266d0 (diff)
parent88e8d8b01884c961bfdf4ae5b4b2702a4acde9af (diff)
downloadplatform_external_parameter-framework-45fe1a69580f7ff239878e4b29e292503b0340fa.tar.gz
platform_external_parameter-framework-45fe1a69580f7ff239878e4b29e292503b0340fa.tar.bz2
platform_external_parameter-framework-45fe1a69580f7ff239878e4b29e292503b0340fa.zip
Suppress -Wimplicit-fallthrough.
am: 88e8d8b018 Change-Id: I7f6bd03880a43d7d6107f5143d52c7b9dd271744
-rw-r--r--LibParameter.mk1
-rw-r--r--LibRemoteProcessor.mk2
-rw-r--r--TestPlatform.mk2
3 files changed, 4 insertions, 1 deletions
diff --git a/LibParameter.mk b/LibParameter.mk
index 42084d5..b648f09 100644
--- a/LibParameter.mk
+++ b/LibParameter.mk
@@ -136,6 +136,7 @@ LOCAL_CFLAGS := -Wall -Werror
LOCAL_CPPFLAGS := \
-frtti -fexceptions \
-Wno-instantiation-after-specialization \
+ -Wno-implicit-fallthrough \
LOCAL_STATIC_LIBRARIES := \
libpfw_utility$(SUFFIX) \
diff --git a/LibRemoteProcessor.mk b/LibRemoteProcessor.mk
index 320857d..90a344e 100644
--- a/LibRemoteProcessor.mk
+++ b/LibRemoteProcessor.mk
@@ -65,3 +65,5 @@ LOCAL_CFLAGS := \
-isystem $(LOCAL_PATH)/asio/include
endif #ifeq ($(PFW_NETWORKING),false)
+
+LOCAL_CFLAGS += -Wno-implicit-fallthrough
diff --git a/TestPlatform.mk b/TestPlatform.mk
index 82d0842..66861b5 100644
--- a/TestPlatform.mk
+++ b/TestPlatform.mk
@@ -61,4 +61,4 @@ LOCAL_CFLAGS := \
endif #ifeq ($(PFW_NETWORKING),false)
-LOCAL_CFLAGS += -Wall -Werror
+LOCAL_CFLAGS += -Wall -Werror -Wno-implicit-fallthrough