catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Add Wsubobject-linkage to warning flags
- Commit
6ebdd8fac2010a11a85dddbd1a0211c90c8fad96- Author
- Martin Hořeňovský ·
- Parents
7f931d6df49b
Changes
CMake/CatchMiscFunctions.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/CMake/CatchMiscFunctions.cmake b/CMake/CatchMiscFunctions.cmake index de6b7ae3..84bd7cc7 100644 --- a/CMake/CatchMiscFunctions.cmake +++ b/CMake/CatchMiscFunctions.cmake @@ -78,6 +78,7 @@ function(add_warnings_to_targets targets) "-Wreturn-std-move" "-Wshadow" "-Wstrict-aliasing" + "-Wsubobject-linkage" "-Wsuggest-destructor-override" "-Wsuggest-override" "-Wundef"