From: Mike Frysinger Date: Thu, 21 Dec 2023 05:02:03 +0000 (-0500) Subject: sim: warnings: enable -Wduplicated-cond X-Git-Tag: upstream/2.42~472 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95cd009f5d7980e509fe8df7e2fc55a65f1f69cd;p=platform%2Fupstream%2Fbinutils.git sim: warnings: enable -Wduplicated-cond --- 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