diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 00:02:03 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 00:02:20 -0500 |
commit | 95cd009f5d7980e509fe8df7e2fc55a65f1f69cd (patch) | |
tree | bae90b91dcca06fcab1540b030ab1bfbe4cd7870 /sim | |
parent | 0960c785ac2e4e166c19e4eaa36ff4ac913e7eb6 (diff) | |
download | gdb-95cd009f5d7980e509fe8df7e2fc55a65f1f69cd.zip gdb-95cd009f5d7980e509fe8df7e2fc55a65f1f69cd.tar.gz gdb-95cd009f5d7980e509fe8df7e2fc55a65f1f69cd.tar.bz2 |
sim: warnings: enable -Wduplicated-cond
Diffstat (limited to 'sim')
-rwxr-xr-x | sim/configure | 1 | ||||
-rw-r--r-- | sim/m4/sim_ac_option_warnings.m4 | 1 |
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 |