From 8ef15d1983b73cffcb01f436903210f201d0e2a6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Sep 2021 17:26:27 -0400 Subject: 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. --- meson.build | 1 + 1 file changed, 1 insertion(+) 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 += [ -- cgit v1.2.1