mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 21:29:54 +01:00
Add some extra warnings
This commit is contained in:
parent
4c1cf4aa67
commit
c410e2596c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user