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.
master
Kenny Levinsen 2020-11-09 21:45:11 +01:00
parent 22589b8f1f
commit 49ad3ce7a8
1 changed files with 1 additions and 1 deletions

View File

@ -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',