Add Wsubobject-linkage to warning flags

This commit is contained in:
Martin Hořeňovský 2024-01-14 21:22:09 +01:00
parent 7f931d6df4
commit 6ebdd8fac2
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -78,6 +78,7 @@ function(add_warnings_to_targets targets)
"-Wreturn-std-move"
"-Wshadow"
"-Wstrict-aliasing"
"-Wsubobject-linkage"
"-Wsuggest-destructor-override"
"-Wsuggest-override"
"-Wundef"