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.
This commit is contained in:
Tom Tromey
2016-08-18 10:56:11 -06:00
parent 449b1ac7ad
commit 85e26832a0
5 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2018-05-04 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
* warning.m4 (AM_GDB_WARNINGS): Add -Wimplicit-fallthrough.
2018-05-04 Tom Tromey <tom@tromey.com>
* linux-record.c (record_linux_system_call) <case

3
gdb/configure vendored
View File

@ -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*)

View File

@ -1,3 +1,7 @@
2018-05-04 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
Pedro Alves <palves@redhat.com>

View File

@ -7173,7 +7173,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*)

View File

@ -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*)