mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
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:
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 \
|
||||
|
||||
Reference in New Issue
Block a user