mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
sim: warnings: enable -Wunused-but-set-variable
This commit is contained in:
parent
81a3befa0a
commit
00383ba6b4
2
sim/configure
vendored
2
sim/configure
vendored
@ -15824,7 +15824,7 @@ fi
|
||||
build_warnings="-Wall -Wpointer-arith
|
||||
-Wno-unused -Wunused-value -Wunused-function
|
||||
-Wno-switch -Wno-char-subscripts
|
||||
-Wempty-body -Wunused-but-set-parameter
|
||||
-Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable
|
||||
-Wno-sign-compare -Wno-error=maybe-uninitialized
|
||||
-Wno-error=deprecated-register
|
||||
-Wmissing-declarations
|
||||
|
@ -39,7 +39,7 @@ dnl NB: Kept somewhat in sync with gdbsupport/warnings.m4.
|
||||
build_warnings="-Wall -Wpointer-arith
|
||||
-Wno-unused -Wunused-value -Wunused-function
|
||||
-Wno-switch -Wno-char-subscripts
|
||||
-Wempty-body -Wunused-but-set-parameter
|
||||
-Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable
|
||||
-Wno-sign-compare -Wno-error=maybe-uninitialized
|
||||
dnl C++ -Wno-mismatched-tags
|
||||
-Wno-error=deprecated-register
|
||||
|
Loading…
Reference in New Issue
Block a user