summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-28 21:58:10 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-28 21:58:10 +0100
commit7e705556a16bfc3bede5faad3567b624a3658b37 (patch)
treef057b37fd97f89fca3097a32f2fe9461403eeaa4
parentAdd -Wlogical-op (diff)
downloadmygrate-7e705556a16bfc3bede5faad3567b624a3658b37.tar.bz2
mygrate-7e705556a16bfc3bede5faad3567b624a3658b37.tar.xz
mygrate-7e705556a16bfc3bede5faad3567b624a3658b37.zip
Add -Wuseless-cast
-rw-r--r--Jamroot.jam1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 8ba3ccd..c32fb4a 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -32,6 +32,7 @@ project : requirements
<toolset>gcc,<variant>debug:<cflags>-Wduplicated-cond
<toolset>gcc,<variant>debug:<cflags>-Wduplicated-branches
<toolset>gcc,<variant>debug:<cflags>-Wlogical-op
+ <toolset>gcc,<variant>debug:<cflags>-Wuseless-cast
<variant>coverage:<coverage>on
<toolset>tidy:<checkxx>boost-*
<toolset>tidy:<checkxx>bugprone-*