summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-04 15:44:18 -0700
committerChih-Hung Hsieh <chh@google.com>2018-09-04 15:44:18 -0700
commitbfeebbc6d686b97cc585a5a48db641d09b4d9e16 (patch)
treef71299c734571758bf924f1c652a53d3836dc75b
parent7a1184d68cdd33245efc9875b237fcef2c9d2c54 (diff)
downloadtinyxml-bfeebbc6d686b97cc585a5a48db641d09b4d9e16.tar.gz
Suppress -Wimplicit-fallthrough.
-Wimplicit-fallthrough will be enabled globally. Test: build with global -Wimplicit-fallthrough. Change-Id: I7d5198cdfe41ead2ecf70ae061e36432f09fde0d
-rw-r--r--Android.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index b3967a5..bf735c4 100644
--- a/Android.mk
+++ b/Android.mk
@@ -14,10 +14,11 @@ commonSources:= \
tinystr.cpp
commonFlags := \
- -Wno-undefined-bool-conversion \
- -Wno-missing-braces \
- -Wno-logical-op-parentheses \
- -Werror
+ -Wno-implicit-fallthrough \
+ -Wno-logical-op-parentheses \
+ -Wno-missing-braces \
+ -Wno-undefined-bool-conversion \
+ -Werror
# For the device