diff options
author | David Robillard <d@drobilla.net> | 2022-03-14 21:23:09 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-03-14 21:23:09 -0400 |
commit | 65e718da3a8154560b9451c273ce94eb195fa71a (patch) | |
tree | 9befa73b11809d3faaf963e9f31741973dfdc107 /meson.build | |
parent | 32676ade3aefddf20a8676fff6ff2a63401f1ed3 (diff) | |
download | lilv-65e718da3a8154560b9451c273ce94eb195fa71a.tar.gz lilv-65e718da3a8154560b9451c273ce94eb195fa71a.tar.bz2 lilv-65e718da3a8154560b9451c273ce94eb195fa71a.zip |
Suppress MinGW warnings
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 0ac70be..3e167be 100644 --- a/meson.build +++ b/meson.build @@ -68,6 +68,13 @@ if get_option('strict') '-Wno-unused-parameter', '-Wno-vla', ] + + if host_machine.system() == 'windows' + c_warnings += [ + '-Wno-bad-function-cast', + ] + endif + elif cc.get_id() == 'msvc' c_warnings += [ '/wd4061', # enumerator in switch is not explicitly handled |