From 49ad3ce7a8e82b396f1c176e601a51fba1b12e60 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Mon, 9 Nov 2020 21:45:11 +0100 Subject: [PATCH] meson: Disable implicit-fallthrough Clang cannot decide how it wishes to handle implicit-fallthrough, with different solutions across different versions, which presents a problem on FreeBSD where several majors of clang remain relevant. Disable implicit-fallthrough until clang has figured out what it wants to do in life. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 9d43661..d8f4c32 100644 --- a/meson.build +++ b/meson.build @@ -19,8 +19,8 @@ add_project_arguments( '-Wold-style-definition', # nop '-Wpointer-arith', '-Wstrict-prototypes', - '-Wimplicit-fallthrough', '-Wmissing-prototypes', + '-Wno-implicit-fallthrough', '-Wno-unknown-warning-option', '-Wno-unused-command-line-argument', '-Wvla',