diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-09-06 13:50:58 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2018-09-06 13:50:58 -0700 |
commit | 88e8d8b01884c961bfdf4ae5b4b2702a4acde9af (patch) | |
tree | 2b0dcef6b366847d460d63b6a85a7de08ef0be8f | |
parent | 2da0f098f1cef30e9c24b99e02c7d9d65abdc9fb (diff) | |
download | parameter-framework-master-cuttlefish-testing-release.tar.gz |
Suppress -Wimplicit-fallthrough.android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-1.0.5oreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-release
-Wimplicit-fallthrough will be enabled globally.
Test: build with global -Wimplicit-fallthrough.
Change-Id: I00fb9ed34cb378b42be1065082b1086ae2e2a36c
-rw-r--r-- | LibParameter.mk | 1 | ||||
-rw-r--r-- | LibRemoteProcessor.mk | 2 | ||||
-rw-r--r-- | TestPlatform.mk | 2 |
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 |