diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-04-15 15:36:06 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-04-15 15:38:25 +0100 |
commit | 081f4a7fcb1a0701887b5e09c0ed5f0656c71fd3 (patch) | |
tree | de75b49c54c234a588b7e159c576a2790d7aeef0 /Jamroot.jam | |
parent | Safe numeric conversions (diff) | |
download | netfs-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.jam | 7 |
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-* |