summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-09-16 17:26:27 -0400
committerDavid Robillard <d@drobilla.net>2021-09-16 20:57:58 -0400
commit8ef15d1983b73cffcb01f436903210f201d0e2a6 (patch)
treec35e95857c2b448655fa6f5d821cf2addf0ea722
parent598d238377dfe13b45225cc7a1111e7fdb63f751 (diff)
downloadzix-8ef15d1983b73cffcb01f436903210f201d0e2a6.tar.gz
zix-8ef15d1983b73cffcb01f436903210f201d0e2a6.tar.bz2
zix-8ef15d1983b73cffcb01f436903210f201d0e2a6.zip
Suppress warnings on FreeBSD
Unfortunately clang proper supports this in earlier versions, but Apple's fork doesn't until the version that reports itself as clang 12. Since this is caught by the GCC builds anyway, just suppress them for clang unconditionally.
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 9324354..c20f431 100644
--- a/meson.build
+++ b/meson.build
@@ -46,6 +46,7 @@ if get_option('strict')
'-Wno-bad-function-cast',
'-Wno-padded',
'-Wno-reserved-id-macro',
+ '-Wno-implicit-fallthrough', # Really for clang < 12
]
elif cc.get_id() == 'gcc'
c_warnings += [