summaryrefslogtreecommitdiffstats
path: root/test/headers/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-30 18:27:55 -0400
committerDavid Robillard <d@drobilla.net>2023-05-01 13:15:50 -0400
commited6ae993e3889e2243cb0387e5d53398b118749d (patch)
treee9b0d4861c55793aabda59556ef910eab59a825e /test/headers/meson.build
parentf1f063c8e170b2a6350eedf68c4859b974d85d5e (diff)
downloadsratom-ed6ae993e3889e2243cb0387e5d53398b118749d.tar.gz
sratom-ed6ae993e3889e2243cb0387e5d53398b118749d.tar.bz2
sratom-ed6ae993e3889e2243cb0387e5d53398b118749d.zip
Replace strict option with new meson warning level
Diffstat (limited to 'test/headers/meson.build')
-rw-r--r--test/headers/meson.build3
1 files changed, 2 insertions, 1 deletions
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 += [