diff options
author | Tom Tromey <tom@tromey.com> | 2016-08-18 10:56:11 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-04 22:04:46 -0600 |
commit | 85e26832a019ffc00dad9f1eb7e670b85c8eca7f (patch) | |
tree | faca0861d37d6f9568ceab9b9153f0e391395fef /gdb/warning.m4 | |
parent | 449b1ac7ad5f3da9ef689c91144aa057cb253df6 (diff) | |
download | gdb-85e26832a019ffc00dad9f1eb7e670b85c8eca7f.zip gdb-85e26832a019ffc00dad9f1eb7e670b85c8eca7f.tar.gz gdb-85e26832a019ffc00dad9f1eb7e670b85c8eca7f.tar.bz2 |
Add -Wimplicit-fallthrough
This adds -Wimplicit-fallthrough to the set of default warnings.
2018-05-04 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
* warning.m4 (AM_GDB_WARNINGS): Add -Wimplicit-fallthrough.
gdbserver/ChangeLog
2018-05-04 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
Diffstat (limited to 'gdb/warning.m4')
-rw-r--r-- | gdb/warning.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/warning.m4 b/gdb/warning.m4 index f176a32..1cc3c68 100644 --- a/gdb/warning.m4 +++ b/gdb/warning.m4 @@ -43,7 +43,8 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized \ -Wno-mismatched-tags \ -Wno-error=deprecated-register \ --Wsuggest-override" +-Wsuggest-override \ +-Wimplicit-fallthrough" case "${host}" in *-*-mingw32*) |