summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cc/config/clang.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/config/clang.go b/cc/config/clang.go
index 347bfabab..94a8257f5 100644
--- a/cc/config/clang.go
+++ b/cc/config/clang.go
@@ -101,8 +101,9 @@ func init() {
// not emit the table by default on Android since NDK still uses GNU binutils.
"-faddrsig",
- // -Wimplicit-fallthrough is not enabled by -Wall.
+ // Make implicit fallthrough an error in the future.
"-Wimplicit-fallthrough",
+ "-Wno-error=implicit-fallthrough",
// Help catch common 32/64-bit errors.
"-Werror=int-conversion",