mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-04-06 14:21:43 +08:00
sim: warnings: enable -Wshadow=local
This brings us in sync with current set of gdb warnings (for C).
This commit is contained in:
parent
199b67ca04
commit
f6c714d65b
1
sim/configure
vendored
1
sim/configure
vendored
@ -16156,6 +16156,7 @@ build_warnings="-Wall -Wpointer-arith
|
||||
-Wno-error=deprecated-register
|
||||
-Wimplicit-fallthrough=5
|
||||
-Wduplicated-cond
|
||||
-Wshadow=local
|
||||
-Wmissing-declarations
|
||||
"
|
||||
build_warnings="$build_warnings
|
||||
|
@ -46,7 +46,7 @@ dnl C++ -Wno-mismatched-tags
|
||||
dnl C++ -Wsuggest-override
|
||||
-Wimplicit-fallthrough=5
|
||||
-Wduplicated-cond
|
||||
dnl -Wshadow=local
|
||||
-Wshadow=local
|
||||
dnl C++ -Wdeprecated-copy
|
||||
dnl C++ -Wdeprecated-copy-dtor
|
||||
dnl C++ -Wredundant-move
|
||||
|
Loading…
x
Reference in New Issue
Block a user