From f5d33a2cda7b6f498bb7e5e61e298dce5510ed5c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Feb 2023 21:55:18 -0500 Subject: Fix clang and clang-tidy warnings on Windows --- meson/suppressions/meson.build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meson/suppressions/meson.build') diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index 50dabb9..1be55fe 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -38,6 +38,13 @@ if is_variable('cc') ] endif + if host_machine.system() == 'windows' + c_suppressions += [ + '-Wno-deprecated-declarations', + '-Wno-nonportable-system-include-path', + ] + endif + elif cc.get_id() == 'gcc' c_suppressions += [ '-Wno-cast-align', -- cgit v1.2.1