summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-04-15 15:36:06 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-04-15 15:38:25 +0100
commit081f4a7fcb1a0701887b5e09c0ed5f0656c71fd3 (patch)
treede75b49c54c234a588b7e159c576a2790d7aeef0 /Jamroot.jam
parentSafe numeric conversions (diff)
downloadnetfs-081f4a7fcb1a0701887b5e09c0ed5f0656c71fd3.tar.bz2
netfs-081f4a7fcb1a0701887b5e09c0ed5f0656c71fd3.tar.xz
netfs-081f4a7fcb1a0701887b5e09c0ed5f0656c71fd3.zip
Enable and fixup all conversion/cast warnings
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam7
1 files changed, 6 insertions, 1 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 8551ded..c13f68c 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -15,9 +15,14 @@ project
<visibility>hidden
<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
<variant>release:<lto>on
- <variant>debug<toolset>gcc:<cxxflags>-Wlogical-op
<variant>debug:<warnings>extra
<variant>debug:<warnings-as-errors>on
+ <variant>debug:<cflags>-Wold-style-cast
+ <variant>debug:<cflags>-Wcast-align
+ <variant>debug:<cflags>-Wconversion
+ <variant>debug:<cflags>-Wsign-conversion
+ <toolset>gcc,<variant>debug:<cflags>-Wlogical-op
+ <toolset>gcc,<variant>debug:<cflags>-Wuseless-cast
<variant>coverage:<coverage>on
<toolset>tidy:<checkxx>boost-*
<toolset>tidy:<checkxx>bugprone-*