diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-01-08 16:34:43 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-01-08 16:34:43 +0000 |
commit | 8cd0977a3688fa705c83867c57505a47b9269369 (patch) | |
tree | b7b48711051299607077ed31fdf3b3f6dd6cc41f /test/Jamfile.jam | |
parent | Tidy shadow map creation (diff) | |
download | ilt-8cd0977a3688fa705c83867c57505a47b9269369.tar.bz2 ilt-8cd0977a3688fa705c83867c57505a47b9269369.tar.xz ilt-8cd0977a3688fa705c83867c57505a47b9269369.zip |
Fix up all the static analyzer warnings
Diffstat (limited to 'test/Jamfile.jam')
-rw-r--r-- | test/Jamfile.jam | 23 |
1 files changed, 21 insertions, 2 deletions
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 <define>BOOST_TEST_DYN_LINK <define>RESDIR=\\\"$(res)/\\\" <define>FIXTURESDIR=\\\"$(fixtures)/\\\" + <variant>debug:<warnings>pedantic + <variant>debug:<warnings-as-errors>on + <variant>debug:<cflags>-Wnon-virtual-dtor + <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>-Wold-style-cast + <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 <library>boost_unit_test_framework <library>..//ilt - <toolset>tidy:<xcheckxx>hicpp-vararg <toolset>tidy:<suppress>accessMoved <toolset>tidy:<suppress>assertWithSideEffect + <toolset>tidy:<xcheckxx>bugprone-macro-parentheses <toolset>tidy:<xcheckxx>bugprone-use-after-move - <toolset>tidy:<xcheckxx>hicpp-invalid-access-moved <toolset>tidy:<xcheckxx>clang-analyzer-cplusplus.Move + <toolset>tidy:<xcheckxx>clang-analyzer-security.FloatLoopCounter + <toolset>tidy:<xcheckxx>hicpp-invalid-access-moved + <toolset>tidy:<xcheckxx>hicpp-vararg <toolset>tidy:<librarydef>boost ; lib test : [ glob *.cpp : test-*.cpp ] ; |