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" "-Wreturn-std-move"
"-Wshadow" "-Wshadow"
"-Wstrict-aliasing" "-Wstrict-aliasing"
"-Wsubobject-linkage"
"-Wsuggest-destructor-override" "-Wsuggest-destructor-override"
"-Wsuggest-override" "-Wsuggest-override"
"-Wundef" "-Wundef"