Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-04-28 11:40:52 +0200
committerMartin Hořeňovský2022-04-28 14:56:31 +0200
commitc410e2596c872ff86974c8db5f011ca8b9cf445c (patch)
tree61044927fd2e8f49e6f83919f5439d74750f0a3f
parent4c1cf4aa67709693e932587d45e598bcb57cb1bb (diff)
downloadcatch3-c410e2596c872ff86974c8db5f011ca8b9cf445c.tar.gz
Add some extra warnings
-rw-r--r--CMake/CatchMiscFunctions.cmake3
1 files changed, 3 insertions, 0 deletions
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"