]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Switch to -Wimplicit-fallthrough=5
authorTom Tromey <tom@tromey.com>
Mon, 16 Oct 2023 19:36:03 +0000 (13:36 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 29 Nov 2023 21:29:43 +0000 (14:29 -0700)
This changes the various gdb-related directories to use
-Wimplicit-fallthrough=5, meaning that only the fallthrough attribute
can be used in switches -- special 'fallthrough' comments will no
longer be usable.

Approved-By: Pedro Alves <pedro@palves.net>
gdb/configure
gdbserver/configure
gdbsupport/configure
gdbsupport/warning.m4

index 7e411cd7668b8d40a444d3caf0f74405f6d75a5c..3dd73b0a2c8688626d2887207f25fe95fa755f1a 100755 (executable)
@@ -31161,7 +31161,7 @@ build_warnings="-Wall -Wpointer-arith \
 -Wno-mismatched-tags \
 -Wno-error=deprecated-register \
 -Wsuggest-override \
--Wimplicit-fallthrough=3 \
+-Wimplicit-fallthrough=5 \
 -Wduplicated-cond \
 -Wshadow=local \
 -Wdeprecated-copy \
index dc2ecd884a8b713962b217766df92f423c2c047c..f1292f9b7075bc45aeb9082d7453f2a1a36b5203 100755 (executable)
@@ -13697,7 +13697,7 @@ build_warnings="-Wall -Wpointer-arith \
 -Wno-mismatched-tags \
 -Wno-error=deprecated-register \
 -Wsuggest-override \
--Wimplicit-fallthrough=3 \
+-Wimplicit-fallthrough=5 \
 -Wduplicated-cond \
 -Wshadow=local \
 -Wdeprecated-copy \
index 3f262a5da7874abad8ee13ab85f4d94a7af1946d..b501b36373f74e7c983da448ac330815d93e582d 100755 (executable)
@@ -14162,7 +14162,7 @@ build_warnings="-Wall -Wpointer-arith \
 -Wno-mismatched-tags \
 -Wno-error=deprecated-register \
 -Wsuggest-override \
--Wimplicit-fallthrough=3 \
+-Wimplicit-fallthrough=5 \
 -Wduplicated-cond \
 -Wshadow=local \
 -Wdeprecated-copy \
index ea573c63c4a0d08e1527e14b37a8aa29d9e9433a..774f0208e9b74ea2d0779bbfc513d2352e6a68b8 100644 (file)
@@ -44,7 +44,7 @@ build_warnings="-Wall -Wpointer-arith \
 -Wno-mismatched-tags \
 -Wno-error=deprecated-register \
 -Wsuggest-override \
--Wimplicit-fallthrough=3 \
+-Wimplicit-fallthrough=5 \
 -Wduplicated-cond \
 -Wshadow=local \
 -Wdeprecated-copy \