aboutsummaryrefslogtreecommitdiffstats
path: root/meson/suppressions
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-04 21:54:23 -0500
committerDavid Robillard <d@drobilla.net>2023-02-04 21:54:23 -0500
commit0cf9b6d7db1d3c829b40cabebd3a81ef6eeb550e (patch)
tree92df5f82e8de46554c37873931afe65041bd8404 /meson/suppressions
parentef11fc10080c7d531d9e97910e62b84d2388ec30 (diff)
downloadserd-0cf9b6d7db1d3c829b40cabebd3a81ef6eeb550e.tar.gz
serd-0cf9b6d7db1d3c829b40cabebd3a81ef6eeb550e.tar.bz2
serd-0cf9b6d7db1d3c829b40cabebd3a81ef6eeb550e.zip
Fix clang and clang-tidy warnings on Windows
Diffstat (limited to 'meson/suppressions')
-rw-r--r--meson/suppressions/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build
index 098f7ab5..11286442 100644
--- a/meson/suppressions/meson.build
+++ b/meson/suppressions/meson.build
@@ -36,6 +36,14 @@ if is_variable('cc')
]
endif
+ if host_machine.system() == 'windows'
+ c_suppressions += [
+ '-Wno-deprecated-declarations',
+ '-Wno-nonportable-system-include-path',
+ '-Wno-unused-macros',
+ ]
+ endif
+
elif cc.get_id() == 'gcc'
c_suppressions += [
'-Wno-cast-align',