diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-06 06:39:25 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-01 10:51:50 -0500 |
commit | 58d38850b68914f4990714c8b8083050f4436726 (patch) | |
tree | 9b54d7b0b0cd7d5f74901c7d195553ba7c6ec76c | |
parent | fa99355b567e0693fb9b09bf328e0d1111e713c0 (diff) | |
download | gdb-58d38850b68914f4990714c8b8083050f4436726.zip gdb-58d38850b68914f4990714c8b8083050f4436726.tar.gz gdb-58d38850b68914f4990714c8b8083050f4436726.tar.bz2 |
sim: warnings: enable -Wunused-variable
-rwxr-xr-x | sim/configure | 2 | ||||
-rw-r--r-- | sim/m4/sim_ac_option_warnings.m4 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sim/configure b/sim/configure index 62ef890..9fae4e9 100755 --- a/sim/configure +++ b/sim/configure @@ -15824,7 +15824,7 @@ if test "${ERROR_ON_WARNING}" = yes ; then fi build_warnings="-Wall -Wpointer-arith --Wno-unused -Wunused-value -Wunused-function +-Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized diff --git a/sim/m4/sim_ac_option_warnings.m4 b/sim/m4/sim_ac_option_warnings.m4 index 02b5ffa..9ad73b7 100644 --- a/sim/m4/sim_ac_option_warnings.m4 +++ b/sim/m4/sim_ac_option_warnings.m4 @@ -37,7 +37,7 @@ fi dnl The options we'll try to enable. dnl NB: Kept somewhat in sync with gdbsupport/warnings.m4. build_warnings="-Wall -Wpointer-arith --Wno-unused -Wunused-value -Wunused-function +-Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized |