]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add -Wimplicit-fallthrough
authorTom Tromey <tom@tromey.com>
Thu, 18 Aug 2016 16:56:11 +0000 (10:56 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 5 May 2018 04:04:46 +0000 (22:04 -0600)
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.

gdb/ChangeLog
gdb/configure
gdb/gdbserver/ChangeLog
gdb/gdbserver/configure
gdb/warning.m4

index 27c42130eb99e40a7f397055a3b189dd32092537..cfdc8b87fd76f0e7caea6eb62d65d05f646abe0c 100644 (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
index 1aac9303ac3aaac18f45b410aa44ac836ec0e202..96dd9fa73243a7138576bd65129536ab6696d59a 100755 (executable)
@@ -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*)
index 4726ef4402f52d466654114f75450a4886ac4c95..f1dd1ddc9774ec7a8ac302fd5235da0452e18eeb 100644 (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>
 
index 22b4c8af682a2029f6bc713dfb2a09ba09dd3270..919ed316653d6e6f4cfa7cd6779db34f29f5ec6d 100755 (executable)
@@ -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*)
index f176a3291aa68acf0122609531abb4652425525b..1cc3c6839854605cf4a554670e7c0f7010048c35 100644 (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*)