summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-04-15 18:08:35 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-04-15 18:08:35 +0100
commitd1f9db11b2016c3f66c230c5fbf6762b4a2984ab (patch)
treed10a8d84240d09f522e814170cdd88a23bc6aa05 /Jamroot.jam
parentNo hacky define, types for open maps public for testing (diff)
downloadnetfs-d1f9db11b2016c3f66c230c5fbf6762b4a2984ab.tar.bz2
netfs-d1f9db11b2016c3f66c230c5fbf6762b4a2984ab.tar.xz
netfs-d1f9db11b2016c3f66c230c5fbf6762b4a2984ab.zip
Enable lots of warnings, fix the few bits of fallout
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam10
1 files changed, 10 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index c13f68c..c49440c 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -17,10 +17,20 @@ 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
+ <variant>debug:<cflags>-Wshadow
+ <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