meson: turn on Wimplicit-fallthrough project wide
This will help avoid coding errors and allows for less warnings
from some static analysis tools.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>
diff --git a/meson.build b/meson.build
index 7d0373f..043047d 100644
--- a/meson.build
+++ b/meson.build
@@ -991,6 +991,7 @@
'-Werror=empty-body',
'-Werror=incompatible-pointer-types',
'-Werror=int-conversion',
+ '-Wimplicit-fallthrough',
'-Wno-missing-field-initializers',
'-Wno-format-truncation',
'-fno-math-errno',