Build: Enable -Wconditionally-supported on GCC

We want to have warnings if we use some implementation-specific features of GCC
to be able to keep compatibility with clang.
This commit is contained in:
Peter Keresztes Schmidt 2021-03-18 13:00:36 +01:00
parent 7a4c34ec7e
commit d1bbfdaf6b
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
target_compile_options(zm-warning-interface
INTERFACE
-Wall
-Wconditionally-supported
-Wextra
-Wformat-security
-Wno-cast-function-type