From 87ff0f2208d23f660ea2eec7f424b925baa2b110 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Feb 2023 22:14:36 -0500 Subject: Fix strict clang build on Windows --- meson/suppressions/meson.build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meson') diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index 0ee8230..a34ee86 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -26,6 +26,13 @@ if is_variable('cc') '-Wno-variadic-macros', ] + if host_machine.system() == 'windows' + c_suppressions += [ + '-Wno-deprecated-declarations', + '-Wno-nonportable-system-include-path', + ] + endif + elif cc.get_id() == 'gcc' c_suppressions += [ '-Wno-padded', -- cgit v1.2.1