diff options
-rw-r--r-- | meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 55f62974..d4cff2af 100644 --- a/meson.build +++ b/meson.build @@ -69,6 +69,8 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' '-Wold-style-definition', '-Wno-int-conversion', '-Wno-discarded-qualifiers', + '-Werror=implicit', + '-Werror=pointer-to-int-cast', ] test_cflags = test_c_only_flags + [ @@ -86,7 +88,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' '-Wlogical-op', '-Wno-uninitialized', '-Wno-shadow', - '-Werror=implicit', '-Werror=implicit-fallthrough', '-Werror=nonnull', '-Werror=init-self', @@ -99,7 +100,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' '-Werror=write-strings', '-Werror=address', '-Werror=int-to-pointer-cast', - '-Werror=pointer-to-int-cast', '-Werror=empty-body', '-Werror=write-strings', '-Werror=unused-but-set-variable', |