diff options
author | Tom Tromey <tom@tromey.com> | 2023-10-16 13:36:03 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-11-29 14:29:43 -0700 |
commit | d57f38ec74f12b970f3186ac54a9a0f00bf993c7 (patch) | |
tree | 5e93b3e9daf4d71a61304851bc1deb4b3143067d | |
parent | d182e39881061b11d1eb85426d9a6953e3171bf5 (diff) | |
download | gdb-d57f38ec74f12b970f3186ac54a9a0f00bf993c7.zip gdb-d57f38ec74f12b970f3186ac54a9a0f00bf993c7.tar.gz gdb-d57f38ec74f12b970f3186ac54a9a0f00bf993c7.tar.bz2 |
Switch to -Wimplicit-fallthrough=5
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>
-rwxr-xr-x | gdb/configure | 2 | ||||
-rwxr-xr-x | gdbserver/configure | 2 | ||||
-rwxr-xr-x | gdbsupport/configure | 2 | ||||
-rw-r--r-- | gdbsupport/warning.m4 | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/gdb/configure b/gdb/configure index 7e411cd..3dd73b0 100755 --- a/gdb/configure +++ b/gdb/configure @@ -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 \ diff --git a/gdbserver/configure b/gdbserver/configure index dc2ecd8..f1292f9 100755 --- a/gdbserver/configure +++ b/gdbserver/configure @@ -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 \ diff --git a/gdbsupport/configure b/gdbsupport/configure index 3f262a5..b501b36 100755 --- a/gdbsupport/configure +++ b/gdbsupport/configure @@ -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 \ diff --git a/gdbsupport/warning.m4 b/gdbsupport/warning.m4 index ea573c6..774f020 100644 --- a/gdbsupport/warning.m4 +++ b/gdbsupport/warning.m4 @@ -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 \ |