aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-24 14:19:57 -0400
committerDavid Robillard <d@drobilla.net>2022-10-24 14:19:57 -0400
commit27728a89f8356978fba44ba81b362d6c80deae6b (patch)
tree1f65a56c5e7c13af59508f9a0708c75dc67a4d24
parentf4c4c0072db99565da33822e02bbca0c3943668a (diff)
downloadserd-27728a89f8356978fba44ba81b362d6c80deae6b.tar.gz
serd-27728a89f8356978fba44ba81b362d6c80deae6b.tar.bz2
serd-27728a89f8356978fba44ba81b362d6c80deae6b.zip
Fix MSVC warning in header 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 ac9dc2d2..af270073 100644
--- a/test/headers/meson.build
+++ b/test/headers/meson.build
@@ -14,6 +14,10 @@ if get_option('strict')
'-Wno-padded',
'-Wno-unused-const-variable',
]
+ elif cc.get_id() == 'msvc'
+ header_c_suppressions += [
+ '/wd4820', # padding added after construct
+ ]
endif
endif