aboutsummaryrefslogtreecommitdiffstats
path: root/meson
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-07 15:53:52 -0400
committerDavid Robillard <d@drobilla.net>2022-10-07 15:53:52 -0400
commit7d32c6139c8380d863cfff5c46609ef23baf56c8 (patch)
treeaeaeb4be21b0cf763d79a467d7b3b4da9f907402 /meson
parent17d90bda87dd445a974de7e644629593ade617d8 (diff)
downloadpugl-7d32c6139c8380d863cfff5c46609ef23baf56c8.tar.gz
pugl-7d32c6139c8380d863cfff5c46609ef23baf56c8.tar.bz2
pugl-7d32c6139c8380d863cfff5c46609ef23baf56c8.zip
Suppress MinGW warnings
Diffstat (limited to 'meson')
-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 541d533..ffc6595 100644
--- a/meson/suppressions/meson.build
+++ b/meson/suppressions/meson.build
@@ -96,6 +96,14 @@ if is_variable('cpp')
'-Wno-inline',
'-Wno-padded',
]
+
+ if host_machine.system() == 'windows'
+ cpp_warnings += [
+ '-Wno-cast-function-type',
+ '-Wno-suggest-attribute=format',
+ ]
+ endif
+
elif cpp.get_id() == 'msvc'
cpp_warnings += [
'/wd4061', # enumerator in switch is not explicitly handled