forked from Imagelibrary/binutils-gdb
sim: warnings: enable -Wshadow=local
This brings us in sync with current set of gdb warnings (for C).
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user