From ed6ae993e3889e2243cb0387e5d53398b118749d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 30 Apr 2023 18:27:55 -0400 Subject: Replace strict option with new meson warning level --- test/headers/meson.build | 3 ++- test/meson.build | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/headers/meson.build b/test/headers/meson.build index aed2e43..b5d7c71 100644 --- a/test/headers/meson.build +++ b/test/headers/meson.build @@ -3,12 +3,13 @@ header_c_suppressions = [] -if get_option('strict') +if get_option('warning_level') == 'everything' if cc.get_id() == 'clang' header_c_suppressions += [ '-Wno-cast-align', # LV2 '-Wno-cast-qual', # LV2 '-Wno-declaration-after-statement', # LV2 + '-Wno-padded', # LV2, serd ] elif cc.get_id() == 'gcc' header_c_suppressions += [ diff --git a/test/meson.build b/test/meson.build index 841b8af..cbddee6 100644 --- a/test/meson.build +++ b/test/meson.build @@ -5,7 +5,7 @@ # Project Metadata # #################### -if get_option('strict') +if get_option('warning_level') == 'everything' # Check release metadata if not meson.is_subproject() autoship = find_program('autoship', required: false) -- cgit v1.2.1