summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-06 18:34:33 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-09-06 18:34:33 -0700
commit35d043606e93b902d7b2b53a8f8a128358e6ed31 (patch)
tree2b0dcef6b366847d460d63b6a85a7de08ef0be8f
parente6704547af8e09f534ee4142466368ec90793b6e (diff)
parentc0f0d1e1078572bad8e7798e8f475a928f5a58ab (diff)
downloadparameter-framework-35d043606e93b902d7b2b53a8f8a128358e6ed31.tar.gz
Suppress -Wimplicit-fallthrough. am: 88e8d8b018 am: 45fe1a6958
am: c0f0d1e107 Change-Id: If413bd71351e9c3c148c71bfb5188e9ed514b6b4
-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