summaryrefslogtreecommitdiff
path: root/libsqlitepp/Jamfile.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-18 14:25:28 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-18 14:25:28 +0100
commit7e5c360a8c8eee8ebe8b1c18e49be5b4af8dac57 (patch)
tree398c50f5d2cf6001b31ea8628299b8eb90b2c543 /libsqlitepp/Jamfile.jam
parentModern jam lto (diff)
downloadlibdbpp-sqlite-7e5c360a8c8eee8ebe8b1c18e49be5b4af8dac57.tar.bz2
libdbpp-sqlite-7e5c360a8c8eee8ebe8b1c18e49be5b4af8dac57.tar.xz
libdbpp-sqlite-7e5c360a8c8eee8ebe8b1c18e49be5b4af8dac57.zip
Add JT recommended warnings
Diffstat (limited to 'libsqlitepp/Jamfile.jam')
-rw-r--r--libsqlitepp/Jamfile.jam15
1 files changed, 15 insertions, 0 deletions
diff --git a/libsqlitepp/Jamfile.jam b/libsqlitepp/Jamfile.jam
index 84e8c85..951b648 100644
--- a/libsqlitepp/Jamfile.jam
+++ b/libsqlitepp/Jamfile.jam
@@ -17,6 +17,21 @@ 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
;