diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-09-04 15:00:45 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2018-09-04 15:00:45 -0700 |
commit | b860d8328151212a5a0f0f6fc9f5808996a6d393 (patch) | |
tree | 3246d1472ae648d62b5f4ccd02de7fb16072a667 | |
parent | 93ba642c636309a3195d6da6c11ba82f69ef45ed (diff) | |
download | jsoncpp-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.bp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: { |