summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-28 21:52:56 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-28 21:52:56 +0100
commitc1115c247f0700350538515bf1072f99c32506f4 (patch)
tree79eef5ed28f9b0c0c3c1ce1b75d3820979f66e67
parentAdd -Wformat=2 (diff)
downloadmygrate-c1115c247f0700350538515bf1072f99c32506f4.tar.bz2
mygrate-c1115c247f0700350538515bf1072f99c32506f4.tar.xz
mygrate-c1115c247f0700350538515bf1072f99c32506f4.zip
Add -Wduplicated-cond
-rw-r--r--Jamroot.jam1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index c754e77..7da7012 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -29,6 +29,7 @@ project : requirements
<variant>debug:<cflags>-Wnull-dereference
<variant>debug:<cflags>-Wdouble-promotion
<variant>debug:<cflags>-Wformat=2
+ <toolset>gcc,<variant>debug:<cflags>-Wduplicated-cond
<variant>coverage:<coverage>on
<toolset>tidy:<checkxx>boost-*
<toolset>tidy:<checkxx>bugprone-*