summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-11-28 16:53:57 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-11-28 16:53:57 +0000
commit04946e0b64e5bafcfb01cca515f5abc34386e15c (patch)
tree441a2131af5bd1ead38e8eceb39d0def2ba6b2e7 /Jamroot.jam
parentNo global static for factory map (diff)
downloadilt-04946e0b64e5bafcfb01cca515f5abc34386e15c.tar.bz2
ilt-04946e0b64e5bafcfb01cca515f5abc34386e15c.tar.xz
ilt-04946e0b64e5bafcfb01cca515f5abc34386e15c.zip
Fix up all remaining warnings
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam37
1 files changed, 19 insertions, 18 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index f3fd9b6..9e89994 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -15,30 +15,15 @@ lib pthread ;
variant coverage : debug ;
project : requirements
<cxxstd>20
- <variant>debug:<warnings>pedantic
- <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>-Wpedantic
- <variant>debug:<cflags>-Wconversion
- <variant>debug:<cflags>-Wsign-conversion
- <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>release:<lto>on
<variant>coverage:<coverage>on
<toolset>tidy:<exclude>gfx/models/obj.cpp
<toolset>tidy:<exclude>lib/jsonParse.cpp
<toolset>tidy:<checkxx>boost-*
<toolset>tidy:<checkxx>bugprone-*
+ <toolset>tidy:<xcheckxx>bugprone-easily-swappable-parameters
<toolset>tidy:<checkxx>clang-*
+ <toolset>tidy:<xcheckxx>clang-analyzer-cplusplus.NewDeleteLeaks
<toolset>tidy:<checkxx>misc-*
<toolset>tidy:<xcheckxx>misc-non-private-member-variables-in-classes
<toolset>tidy:<checkxx>modernize-*
@@ -90,11 +75,27 @@ lib ilt :
[ lib generated : [ glob-tree *.ll *.c ] :
<include>.
<include>lib
- <variant>release
<link>static
<cflags>-fPIC
]
:
+ <variant>debug:<warnings>pedantic
+ <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>-Wpedantic
+ <variant>debug:<cflags>-Wconversion
+ <variant>debug:<cflags>-Wsign-conversion
+ <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
<include>.
<include>lib
<library>sdl2