From 445a56f6d576f1d5bd3f61fd5e722722b563ee74 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 25 Nov 2022 07:05:28 -0500 Subject: Trim redundant warning flags enabled by -Wextra and -Wpedantic --- test/headers/meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/headers/meson.build b/test/headers/meson.build index af270073..0c4e97ea 100644 --- a/test/headers/meson.build +++ b/test/headers/meson.build @@ -6,7 +6,6 @@ header_c_suppressions = [] if get_option('strict') if cc.get_id() == 'clang' header_c_suppressions += [ - '-Wno-nullability-extension', '-Wno-padded', ] elif cc.get_id() == 'gcc' @@ -21,6 +20,12 @@ if get_option('strict') endif endif +if cc.get_id() == 'clang' + header_c_suppressions += [ + '-Wno-nullability-extension', + ] +endif + test( 'headers', executable( -- cgit v1.2.1