summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-23 19:29:10 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-23 19:29:10 +0100
commitfd2b334b82868e1fa2fc3a9562565a2d5ca59ba2 (patch)
tree1d367d28cecd172e226f2ad85880ab3ae381d7dd
parentRemove old style casts (diff)
downloadslicer-fd2b334b82868e1fa2fc3a9562565a2d5ca59ba2.tar.bz2
slicer-fd2b334b82868e1fa2fc3a9562565a2d5ca59ba2.tar.xz
slicer-fd2b334b82868e1fa2fc3a9562565a2d5ca59ba2.zip
Add collection of passing warnings
-rw-r--r--Jamroot.jam8
1 files changed, 8 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index ff4eea1..6bee154 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -19,7 +19,15 @@ project
<variant>debug:<warnings-as-errors>on
<variant>debug:<cflags>-Wnon-virtual-dtor
<variant>debug:<cflags>-Wold-style-cast
+ <variant>debug:<cflags>-Wcast-align
+ <variant>debug:<cflags>-Wunused
<variant>debug:<cflags>-Woverloaded-virtual
+ <variant>debug:<cflags>-Wnull-dereference
+ <variant>debug:<cflags>-Wdouble-promotion
+ <variant>debug:<cflags>-Wformat=2
+ <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-*