mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-24 22:36:10 +01:00
Add Wsubobject-linkage to warning flags
This commit is contained in:
parent
7f931d6df4
commit
6ebdd8fac2
@ -78,6 +78,7 @@ function(add_warnings_to_targets targets)
|
|||||||
"-Wreturn-std-move"
|
"-Wreturn-std-move"
|
||||||
"-Wshadow"
|
"-Wshadow"
|
||||||
"-Wstrict-aliasing"
|
"-Wstrict-aliasing"
|
||||||
|
"-Wsubobject-linkage"
|
||||||
"-Wsuggest-destructor-override"
|
"-Wsuggest-destructor-override"
|
||||||
"-Wsuggest-override"
|
"-Wsuggest-override"
|
||||||
"-Wundef"
|
"-Wundef"
|
||||||
|
Loading…
Reference in New Issue
Block a user