summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-11-01 19:49:34 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-11-01 19:49:34 +0000
commit58a3f51e1c86ce720a4811a6104f8848ba56fb4f (patch)
tree6e9f524de7c4c89ae7517f9fbf940f018dba943d /Jamroot.jam
parentWe don't need our own base64 encoder, openssl has one (diff)
downloadicetray-58a3f51e1c86ce720a4811a6104f8848ba56fb4f.tar.bz2
icetray-58a3f51e1c86ce720a4811a6104f8848ba56fb4f.tar.xz
icetray-58a3f51e1c86ce720a4811a6104f8848ba56fb4f.zip
Fix all linter warnings (except iwyu)
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam18
1 files changed, 18 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 04c973d..5bf8c98 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -17,6 +17,21 @@ project
<variant>release:<lto>on
<variant>debug:<warnings>extra
<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>coverage:<coverage>on
<variant>coverage:<define>COVERAGE
<toolset>tidy:<exclude>icetray/bin/logWriter.h
@@ -27,6 +42,7 @@ project
<toolset>tidy:<checkxx>boost-*
<toolset>tidy:<checkxx>bugprone-*
<toolset>tidy:<xcheckxx>bugprone-macro-parentheses
+ <toolset>tidy:<xcheckxx>bugprone-easily-swappable-parameters
<toolset>tidy:<checkxx>clang-*
<toolset>tidy:<checkxx>misc-*
<toolset>tidy:<xcheckxx>misc-non-private-member-variables-in-classes
@@ -38,6 +54,8 @@ project
<toolset>tidy:<xcheckxx>hicpp-named-parameter
<toolset>tidy:<checkxx>performance-*
<toolset>tidy:<define>ICE_IGNORE_VERSION
+ <toolset>tidy:<librarydef>boost
+ <toolset>tidy:<librarydef>std
;
build-project icetray ;