diff options
author | David Robillard <d@drobilla.net> | 2025-01-21 09:02:23 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-01-21 09:16:18 -0500 |
commit | 6a74f3e00786d18835278e29000b3938104c6241 (patch) | |
tree | 0653d2bbaf37cd07efe31c944b91a643f579b393 /test/meson.build | |
parent | af40bdc5f8a7ab829cd1f1bee0c89c278ae5116b (diff) | |
download | pugl-6a74f3e00786d18835278e29000b3938104c6241.tar.gz pugl-6a74f3e00786d18835278e29000b3938104c6241.tar.bz2 pugl-6a74f3e00786d18835278e29000b3938104c6241.zip |
Fix warnings in clang build on Windows
Diffstat (limited to 'test/meson.build')
-rw-r--r-- | test/meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
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', |