aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsim/configure1
-rw-r--r--sim/m4/sim_ac_option_warnings.m41
2 files changed, 2 insertions, 0 deletions
diff --git a/sim/configure b/sim/configure
index 53dfa3d..53351bb 100755
--- a/sim/configure
+++ b/sim/configure
@@ -15827,6 +15827,7 @@ build_warnings="-Wall -Wpointer-arith
-Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable
-Wno-sign-compare -Wno-error=maybe-uninitialized
-Wno-error=deprecated-register
+-Wduplicated-cond
-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 7bcf9af..9f1487f 100644
--- a/sim/m4/sim_ac_option_warnings.m4
+++ b/sim/m4/sim_ac_option_warnings.m4
@@ -44,6 +44,7 @@ build_warnings="-Wall -Wpointer-arith
dnl C++ -Wno-mismatched-tags
-Wno-error=deprecated-register
dnl C++ -Wsuggest-override
+-Wduplicated-cond
dnl C++ -Wdeprecated-copy
dnl C++ -Wdeprecated-copy-dtor
dnl C++ -Wredundant-move