From 0cf9b6d7db1d3c829b40cabebd3a81ef6eeb550e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Feb 2023 21:54:23 -0500 Subject: Fix clang and clang-tidy warnings on Windows --- meson/suppressions/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meson') diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index 098f7ab5..11286442 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -36,6 +36,14 @@ if is_variable('cc') ] endif + if host_machine.system() == 'windows' + c_suppressions += [ + '-Wno-deprecated-declarations', + '-Wno-nonportable-system-include-path', + '-Wno-unused-macros', + ] + endif + elif cc.get_id() == 'gcc' c_suppressions += [ '-Wno-cast-align', -- cgit v1.2.1