summaryrefslogtreecommitdiffstats
path: root/meson/suppressions/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-04 21:55:18 -0500
committerDavid Robillard <d@drobilla.net>2023-02-04 21:55:18 -0500
commitf5d33a2cda7b6f498bb7e5e61e298dce5510ed5c (patch)
treee0fa2a8958e93a0194f22bb229c0d3c9d43d34a1 /meson/suppressions/meson.build
parent4113c78db9969054354b153819bde4ff0c8b6a73 (diff)
downloadsord-f5d33a2cda7b6f498bb7e5e61e298dce5510ed5c.tar.gz
sord-f5d33a2cda7b6f498bb7e5e61e298dce5510ed5c.tar.bz2
sord-f5d33a2cda7b6f498bb7e5e61e298dce5510ed5c.zip
Fix clang and clang-tidy warnings on Windows
Diffstat (limited to 'meson/suppressions/meson.build')
-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 50dabb9..1be55fe 100644
--- a/meson/suppressions/meson.build
+++ b/meson/suppressions/meson.build
@@ -38,6 +38,13 @@ if is_variable('cc')
]
endif
+ if host_machine.system() == 'windows'
+ c_suppressions += [
+ '-Wno-deprecated-declarations',
+ '-Wno-nonportable-system-include-path',
+ ]
+ endif
+
elif cc.get_id() == 'gcc'
c_suppressions += [
'-Wno-cast-align',