From 27728a89f8356978fba44ba81b362d6c80deae6b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 24 Oct 2022 14:19:57 -0400 Subject: Fix MSVC warning in header test --- test/headers/meson.build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') 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 -- cgit v1.2.1