summaryrefslogtreecommitdiff
path: root/libmysqlpp/Jamfile.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-18 14:24:56 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-18 14:24:56 +0100
commit7b56849be41fdd342c8d92c243df6370a53c8305 (patch)
tree47621c380edfd8adc779caab5d961868be78526c /libmysqlpp/Jamfile.jam
parentReplace straggling typedef (diff)
downloadlibdbpp-mysql-7b56849be41fdd342c8d92c243df6370a53c8305.tar.bz2
libdbpp-mysql-7b56849be41fdd342c8d92c243df6370a53c8305.tar.xz
libdbpp-mysql-7b56849be41fdd342c8d92c243df6370a53c8305.zip
Add JT recommended warnings
Diffstat (limited to 'libmysqlpp/Jamfile.jam')
-rw-r--r--libmysqlpp/Jamfile.jam15
1 files changed, 15 insertions, 0 deletions
diff --git a/libmysqlpp/Jamfile.jam b/libmysqlpp/Jamfile.jam
index 6ddd57d..8894db4 100644
--- a/libmysqlpp/Jamfile.jam
+++ b/libmysqlpp/Jamfile.jam
@@ -16,6 +16,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
<toolset>tidy:<xcheckxx>misc-non-private-member-variables-in-classes
;