diff options
author | David Robillard <d@drobilla.net> | 2022-10-24 14:19:57 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-10-24 14:19:57 -0400 |
commit | 27728a89f8356978fba44ba81b362d6c80deae6b (patch) | |
tree | 1f65a56c5e7c13af59508f9a0708c75dc67a4d24 | |
parent | f4c4c0072db99565da33822e02bbca0c3943668a (diff) | |
download | serd-27728a89f8356978fba44ba81b362d6c80deae6b.tar.gz serd-27728a89f8356978fba44ba81b362d6c80deae6b.tar.bz2 serd-27728a89f8356978fba44ba81b362d6c80deae6b.zip |
Fix MSVC warning in header test
-rw-r--r-- | test/headers/meson.build | 4 |
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 |