Use -Wextra-semi instead of -Wextra-semi-stmt for stricter warnings

This commit is contained in:
Martin Hořeňovský 2021-09-02 11:04:47 +02:00
parent 9ac9fb164e
commit 432d03d1aa
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -45,7 +45,7 @@ function(add_warnings_to_targets targets)
"-Wglobal-constructors"
"-Wmissing-noreturn"
"-Wparentheses"
"-Wextra-semi-stmt"
"-Wextra-semi"
"-Wunreachable-code"
"-Wstrict-aliasing"
"-Wreturn-std-move"