summaryrefslogtreecommitdiffstats
path: root/meson
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-04 22:14:36 -0500
committerDavid Robillard <d@drobilla.net>2023-02-04 22:14:36 -0500
commit87ff0f2208d23f660ea2eec7f424b925baa2b110 (patch)
treee9b100eda0ee2638c69bf91d86d563ba68a49e1f /meson
parent6bcd25d2a050aca8c575501c137164ee06ff4328 (diff)
downloadsuil-87ff0f2208d23f660ea2eec7f424b925baa2b110.tar.gz
suil-87ff0f2208d23f660ea2eec7f424b925baa2b110.tar.bz2
suil-87ff0f2208d23f660ea2eec7f424b925baa2b110.zip
Fix strict clang build on Windows
Diffstat (limited to 'meson')
-rw-r--r--meson/suppressions/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build
index 0ee8230..a34ee86 100644
--- a/meson/suppressions/meson.build
+++ b/meson/suppressions/meson.build
@@ -26,6 +26,13 @@ if is_variable('cc')
'-Wno-variadic-macros',
]
+ if host_machine.system() == 'windows'
+ c_suppressions += [
+ '-Wno-deprecated-declarations',
+ '-Wno-nonportable-system-include-path',
+ ]
+ endif
+
elif cc.get_id() == 'gcc'
c_suppressions += [
'-Wno-padded',