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 /gdb/configure | |
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>
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 2 |
1 files changed, 1 insertions, 1 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 \ |