From 04946e0b64e5bafcfb01cca515f5abc34386e15c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 28 Nov 2021 16:53:57 +0000 Subject: Fix up all remaining warnings --- Jamroot.jam | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'Jamroot.jam') diff --git a/Jamroot.jam b/Jamroot.jam index f3fd9b6..9e89994 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -15,30 +15,15 @@ lib pthread ; variant coverage : debug ; project : requirements 20 - debug:pedantic - 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 release:on coverage:on tidy:gfx/models/obj.cpp tidy:lib/jsonParse.cpp tidy:boost-* tidy:bugprone-* + tidy:bugprone-easily-swappable-parameters tidy:clang-* + tidy:clang-analyzer-cplusplus.NewDeleteLeaks tidy:misc-* tidy:misc-non-private-member-variables-in-classes tidy:modernize-* @@ -90,11 +75,27 @@ lib ilt : [ lib generated : [ glob-tree *.ll *.c ] : . lib - release static -fPIC ] : + debug:pedantic + 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 . lib sdl2 -- cgit v1.2.3