From 7e5c360a8c8eee8ebe8b1c18e49be5b4af8dac57 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 18 Sep 2021 14:25:28 +0100 Subject: Add JT recommended warnings --- libsqlitepp/Jamfile.jam | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'libsqlitepp/Jamfile.jam') 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 release:on debug:extra debug:on + debug:-Wnon-virtual-dtor + debug:-Wold-style-cast + debug:-Wcast-align + debug:-Wunused + debug:-Woverloaded-virtual + debug:-Wpedantic + debug:-Wconversion + debug:-Wsign-conversion + debug:-Wnull-dereference + debug:-Wdouble-promotion + debug:-Wformat=2 + gcc,debug:-Wduplicated-cond + gcc,debug:-Wduplicated-branches + gcc,debug:-Wlogical-op + gcc,debug:-Wuseless-cast coverage:on ; -- cgit v1.2.3