From 9e1793b8918dacdfeb9b36bc2add2930a5338b49 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Mon, 22 Oct 2018 09:42:57 -0700 Subject: [PATCH] Allow implicit-fallthrough warnings locally. It will be a global error by default. Test: make checkbuild Bug: 112564944 Change-Id: I3e914835fcb4ee97662ab51136f143e665d0ba01 Exempt-From-Owner-Approval: do not block on new warnings --- broadcastradio/common/utils2x/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/broadcastradio/common/utils2x/Android.bp b/broadcastradio/common/utils2x/Android.bp index aab94f2a..df2cefe3 100644 --- a/broadcastradio/common/utils2x/Android.bp +++ b/broadcastradio/common/utils2x/Android.bp @@ -22,6 +22,7 @@ cc_library_static { "-Wall", "-Wextra", "-Werror", + "-Wno-error=implicit-fallthrough", ], cppflags: [ "-std=c++1z", -- 2.39.2