aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rwxr-xr-xsim/configure1
-rw-r--r--sim/m4/sim_ac_option_warnings.m42
2 files changed, 2 insertions, 1 deletions
diff --git a/sim/configure b/sim/configure
index 41c2056..a839c3a 100755
--- a/sim/configure
+++ b/sim/configure
@@ -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
diff --git a/sim/m4/sim_ac_option_warnings.m4 b/sim/m4/sim_ac_option_warnings.m4
index 9ad73b7..8a54e56 100644
--- a/sim/m4/sim_ac_option_warnings.m4
+++ b/sim/m4/sim_ac_option_warnings.m4
@@ -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