forked from catchorg/Catch2
Add Wsubobject-linkage to warning flags
This commit is contained in:
@ -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"
|
||||||
|
Reference in New Issue
Block a user