Progmasoft Git

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 some extra warnings

Commit
c410e2596c872ff86974c8db5f011ca8b9cf445c
Author
Martin Hořeňovský ·
Parents
4c1cf4aa6770

Files · Download .tar.gz

Changes

 CMake/CatchMiscFunctions.cmake | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CMake/CatchMiscFunctions.cmake b/CMake/CatchMiscFunctions.cmake
index 2bfbbe83..9db8af8e 100644
--- a/CMake/CatchMiscFunctions.cmake
+++ b/CMake/CatchMiscFunctions.cmake
@@ -46,6 +46,7 @@ function(add_warnings_to_targets targets)
           "-Wabsolute-value"
           "-Wall"
           "-Wcall-to-pure-virtual-from-ctor-dtor"
+          "-Wcast-align"
           "-Wcatch-value"
           "-Wdeprecated"
           "-Wdeprecated-register"
@@ -60,12 +61,14 @@ function(add_warnings_to_targets targets)
           "-Wold-style-cast"
           "-Wparentheses"
           "-Wpedantic"
+          "-Wreorder"
           "-Wreturn-std-move"
           "-Wshadow"
           "-Wstrict-aliasing"
           "-Wsuggest-override"
           "-Wundef"
           "-Wunreachable-code"
+          "-Wunused"
           "-Wunused-function"
           "-Wunused-parameter"
           "-Wvla"