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:
parent
7a4c34ec7e
commit
d1bbfdaf6b
|
@ -1,6 +1,7 @@
|
||||||
target_compile_options(zm-warning-interface
|
target_compile_options(zm-warning-interface
|
||||||
INTERFACE
|
INTERFACE
|
||||||
-Wall
|
-Wall
|
||||||
|
-Wconditionally-supported
|
||||||
-Wextra
|
-Wextra
|
||||||
-Wformat-security
|
-Wformat-security
|
||||||
-Wno-cast-function-type
|
-Wno-cast-function-type
|
||||||
|
|
Loading…
Reference in New Issue