From dbdbe3e518daf7b2f3f0e7587d8b2493b1d5a59e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Feb 2023 22:08:42 -0500 Subject: Fix clang and clang-tidy warnings in Windows --- test/headers/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/headers/meson.build') diff --git a/test/headers/meson.build b/test/headers/meson.build index e0a2d76..cee8965 100644 --- a/test/headers/meson.build +++ b/test/headers/meson.build @@ -12,6 +12,12 @@ if get_option('strict') '-Wno-padded', ] + if host_machine.system() == 'windows' + header_c_suppressions += [ + '-Wno-format-nonliteral', + ] + endif + elif cc.get_id() == 'gcc' header_c_suppressions += [ '-Wno-cast-align', -- cgit v1.2.1