aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsim/configure2
-rw-r--r--sim/m4/sim_ac_option_warnings.m42
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