From 8cd0977a3688fa705c83867c57505a47b9269369 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 8 Jan 2023 16:34:43 +0000 Subject: Fix up all the static analyzer warnings --- test/Jamfile.jam | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'test/Jamfile.jam') diff --git a/test/Jamfile.jam b/test/Jamfile.jam index 72ec0e3..cefad7b 100644 --- a/test/Jamfile.jam +++ b/test/Jamfile.jam @@ -10,14 +10,33 @@ project : requirements BOOST_TEST_DYN_LINK RESDIR=\\\"$(res)/\\\" FIXTURESDIR=\\\"$(fixtures)/\\\" + debug:pedantic + debug:on + debug:-Wnon-virtual-dtor + 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:-Wold-style-cast + gcc,debug:-Wduplicated-cond + gcc,debug:-Wduplicated-branches + gcc,debug:-Wlogical-op + gcc,debug:-Wuseless-cast boost_unit_test_framework ..//ilt - tidy:hicpp-vararg tidy:accessMoved tidy:assertWithSideEffect + tidy:bugprone-macro-parentheses tidy:bugprone-use-after-move - tidy:hicpp-invalid-access-moved tidy:clang-analyzer-cplusplus.Move + tidy:clang-analyzer-security.FloatLoopCounter + tidy:hicpp-invalid-access-moved + tidy:hicpp-vararg tidy:boost ; lib test : [ glob *.cpp : test-*.cpp ] ; -- cgit v1.2.3