aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-13 09:44:56 -0500
committerDavid Robillard <d@drobilla.net>2023-01-14 11:53:28 -0500
commit77a8e83ba55ad47b43c5648637a7cdfdcd9f5b30 (patch)
tree6ce397b71c22f9bd778db35bbd34351abba150cc
parent47f0b78734d486c37d52614c748f6ac7d245eb06 (diff)
downloadpugl-77a8e83ba55ad47b43c5648637a7cdfdcd9f5b30.tar.gz
pugl-77a8e83ba55ad47b43c5648637a7cdfdcd9f5b30.tar.bz2
pugl-77a8e83ba55ad47b43c5648637a7cdfdcd9f5b30.zip
Windows: Fix build with MSVC as C
-rw-r--r--meson.build1
-rw-r--r--meson/suppressions/meson.build1
2 files changed, 1 insertions, 1 deletions
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