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 --- examples/meson.build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'examples') diff --git a/examples/meson.build b/examples/meson.build index aa04e80..0c4f998 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -61,6 +61,13 @@ if get_option('warning_level') == 'everything' and is_variable('cpp') '-Wno-old-style-cast', '-Wno-switch-enum', ] + if host_machine.system() == 'windows' + example_cpp_args += [ + '-Wno-deprecated-declarations', + '-Wno-format-nonliteral', + '-Wno-nonportable-system-include-path', + ] + endif elif cpp.get_id() == 'gcc' example_cpp_args += [ '-Wno-effc++', -- cgit v1.2.1