summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-01-20 22:26:52 -0500
committerDavid Robillard <d@drobilla.net>2025-01-20 22:26:52 -0500
commit704cfa39b9c885a814a1feef294a19b9c90232b4 (patch)
treea7cec59ae93b70fd4ccfa2748cd0d5bd88f715b4 /test
parente567edc5211099a3f337be3c923a4396feb68d36 (diff)
downloadlilv-704cfa39b9c885a814a1feef294a19b9c90232b4.tar.gz
lilv-704cfa39b9c885a814a1feef294a19b9c90232b4.tar.bz2
lilv-704cfa39b9c885a814a1feef294a19b9c90232b4.zip
Fix strict MSVC build
Apparently, on MSVC, warnings in external headers do need to be suppressed here, even with include_type 'system'.
Diffstat (limited to 'test')
-rw-r--r--test/headers/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/headers/meson.build b/test/headers/meson.build
index 4415de1..573dbd9 100644
--- a/test/headers/meson.build
+++ b/test/headers/meson.build
@@ -8,6 +8,10 @@ if get_option('warning_level') == 'everything'
if not meson.is_cross_build()
header_c_suppressions += ['-Wno-poison-system-directories']
endif
+ elif cc.get_id() == 'msvc'
+ header_c_suppressions += [
+ '/wd4820', # padding added after construct
+ ]
endif
endif