mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 10:14:13 +08:00
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>
This commit is contained in:
parent
26aa02b5ab
commit
e2209e869a
@ -991,6 +991,7 @@ else
|
||||
'-Werror=empty-body',
|
||||
'-Werror=incompatible-pointer-types',
|
||||
'-Werror=int-conversion',
|
||||
'-Wimplicit-fallthrough',
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-format-truncation',
|
||||
'-fno-math-errno',
|
||||
|
Loading…
Reference in New Issue
Block a user