aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-04 15:00:45 -0700
committerChih-Hung Hsieh <chh@google.com>2018-09-04 15:00:45 -0700
commitb860d8328151212a5a0f0f6fc9f5808996a6d393 (patch)
tree3246d1472ae648d62b5f4ccd02de7fb16072a667
parent93ba642c636309a3195d6da6c11ba82f69ef45ed (diff)
downloadjsoncpp-b860d8328151212a5a0f0f6fc9f5808996a6d393.tar.gz
Suppress -Wimplicit-fallthrough.
-Wimplicit-fallthrough will be enabled globally. Test: build with global -Wimplicit-fallthrough. Change-Id: I69e349d2f71b3d78bd5e5844e4c2f19d92262ef5
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 5a475aa..d7a6488 100644
--- a/Android.bp
+++ b/Android.bp
@@ -17,6 +17,8 @@ cc_defaults {
"-DJSON_USE_EXCEPTION=0",
"-Wall",
"-Werror",
+ "-Wno-implicit-fallthrough",
+ // src/lib_json/json_reader.cpp:210 has -Wno-implicit-fallthrough
],
target: {