From bcb46050ea9c966e575b0bb333af176995b40b2e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Feb 2023 22:13:00 -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 afbfbef..470c761 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -32,6 +32,13 @@ if is_variable('cc') '-Wno-sign-conversion', ] + if host_machine.system() == 'windows' + c_suppressions += [ + '-Wno-deprecated-declarations', + '-Wno-format-nonliteral', + ] + endif + elif cc.get_id() == 'gcc' c_suppressions += [ '-Wno-cast-align', -- cgit v1.2.1