From af5d95877af889ae40f76bda36f61f8fb7ab2a24 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 29 Jan 2023 12:25:53 -0500 Subject: Suppress new warnings in MSVS 2022 --- test/cpp/meson.build | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/cpp/meson.build') diff --git a/test/cpp/meson.build b/test/cpp/meson.build index e91dd16..4389d18 100644 --- a/test/cpp/meson.build +++ b/test/cpp/meson.build @@ -16,6 +16,11 @@ elif cpp.get_id() == 'clang' '-Wno-padded', '-Wno-reserved-id-macro', ] +elif cpp.get_id() == 'msvc' + cpp_suppressions += [ + '/wd4514', # unreferenced inline function has been removed + '/wd4820', # padding added after construct + ] endif test( -- cgit v1.2.1