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/configure | |
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/configure')
-rwxr-xr-x | gdb/configure | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure b/gdb/configure index 1aac930..96dd9fa 100755 --- a/gdb/configure +++ b/gdb/configure @@ -15366,7 +15366,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*) |