From 6a74f3e00786d18835278e29000b3938104c6241 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 21 Jan 2025 09:02:23 -0500 Subject: Fix warnings in clang build on Windows --- test/meson.build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/meson.build') diff --git a/test/meson.build b/test/meson.build index 791cf04..c47d3ee 100644 --- a/test/meson.build +++ b/test/meson.build @@ -208,6 +208,13 @@ elif is_variable('cpp') '-Wno-switch-enum', '-Wno-unused-macros', # Mac ] + if host_machine.system() == 'windows' + cpp_unified_args += [ + '-Wno-cast-function-type', + '-Wno-deprecated-declarations', + '-Wno-nonportable-system-include-path', + ] + endif elif cpp.get_id() == 'gcc' cpp_unified_args += [ '-Wno-conditionally-supported', -- cgit v1.2.1