From 77a8e83ba55ad47b43c5648637a7cdfdcd9f5b30 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 Jan 2023 09:44:56 -0500 Subject: Windows: Fix build with MSVC as C --- meson.build | 1 - meson/suppressions/meson.build | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 63f14bb..62c1c70 100644 --- a/meson.build +++ b/meson.build @@ -81,7 +81,6 @@ if host_machine.system() == 'darwin' elif host_machine.system() == 'windows' if cc.get_id() == 'msvc' msvc_args = [ - '/TP', '/experimental:external', '/external:W0', '/external:anglebrackets', diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index a6e6f43..82d7fe6 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -56,6 +56,7 @@ elif cc.get_id() == 'gcc' elif cc.get_id() == 'msvc' c_suppressions += [ '/wd4061', # enumerator in switch is not explicitly handled + '/wd4090', # different const qualitifers '/wd4191', # unsafe conversion from type to type '/wd4514', # unreferenced inline function has been removed '/wd4706', # assignment within conditional expression -- cgit v1.2.1