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>
This commit is contained in:
parent
d182e39881
commit
d57f38ec74
4 changed files with 4 additions and 4 deletions
2
gdb/configure
vendored
2
gdb/configure
vendored
|
@ -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 \
|
||||
|
|
2
gdbserver/configure
vendored
2
gdbserver/configure
vendored
|
@ -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 \
|
||||
|
|
2
gdbsupport/configure
vendored
2
gdbsupport/configure
vendored
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue