diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-12 18:10:05 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-12 18:10:05 +0100 |
commit | 174cb7f9e56040b2a098a8437659e55ca1ed32d2 (patch) | |
tree | b3b89fc568de8087a40c4779b9c218abcbad655d | |
parent | Add -Wconversion and -Wsign-conversion (diff) | |
download | libadhocutil-174cb7f9e56040b2a098a8437659e55ca1ed32d2.tar.bz2 libadhocutil-174cb7f9e56040b2a098a8437659e55ca1ed32d2.tar.xz libadhocutil-174cb7f9e56040b2a098a8437659e55ca1ed32d2.zip |
Add lots of warning flags
-rw-r--r-- | Jamroot.jam | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 526b535..c528089 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -17,9 +17,19 @@ 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>-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 <variant>coverage:<coverage>on <toolset>tidy:<exclude>bin/sys.h <toolset>tidy:<exclude>bin/net.h |