summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-05 01:55:00 -0500
committerDavid Robillard <d@drobilla.net>2023-02-05 01:55:00 -0500
commit32a95bd5024623befa3ed445400075a6faae7522 (patch)
treeb2e495eed2ff454adabf6bcc37bafa25c088b93d /test
parenta6728f63b2e20e2dcfb56d338371d3ef1f3a7569 (diff)
downloadraul-32a95bd5024623befa3ed445400075a6faae7522.tar.gz
raul-32a95bd5024623befa3ed445400075a6faae7522.tar.bz2
raul-32a95bd5024623befa3ed445400075a6faae7522.zip
Fix strict clang build on Windows
Diffstat (limited to 'test')
-rw-r--r--test/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build
index 829a59c..0c073b8 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -36,6 +36,13 @@ if cpp.get_id() == 'clang'
'-Wno-padded',
'-Wno-weak-vtables',
]
+
+ if host_machine.system() == 'windows'
+ header_args += [
+ '-Wno-nonportable-system-include-path',
+ ]
+ endif
+
elif cpp.get_id() == 'gcc'
header_args += [
'-Wno-abi-tag',
@@ -44,6 +51,7 @@ elif cpp.get_id() == 'gcc'
'-Wno-switch-default',
'-Wno-useless-cast',
]
+
elif cpp.get_id() == 'msvc'
header_args += [
'/wd4626', # assignment operator implicitly deleted