summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-02-19 14:05:38 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-02-19 14:05:38 +0000
commit47e8477a2ea5983ba918c811a15a67c5b2cea25c (patch)
treeaed25aa486b562207ccbf77b9ec706ca94e74107 /Jamroot.jam
parentInstall ice to new standard path (diff)
downloadgentoobrowse-api-47e8477a2ea5983ba918c811a15a67c5b2cea25c.tar.bz2
gentoobrowse-api-47e8477a2ea5983ba918c811a15a67c5b2cea25c.tar.xz
gentoobrowse-api-47e8477a2ea5983ba918c811a15a67c5b2cea25c.zip
Fix first round of tools warnings
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam20
1 files changed, 19 insertions, 1 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 5913b40..6fb1bd3 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -17,10 +17,28 @@ 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
<toolset>tidy:<define>ICE_IGNORE_VERSION
- <toolset>tidy:<exclude>cxxstd-17-iso/maintenance.h
+ <toolset>tidy:<define>ICE_MEMBER_IMPORT_EXPORT
+ <toolset>tidy:<exclude>cxxstd-20-iso/maintenance.h
<toolset>tidy:<exclude>unpackPqTextArray.cpp
+ <toolset>tidy:<librarydef>boost
+ <toolset>tidy:<librarydef>std
;
build-project gentoobrowse-api ;