mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-01-22 05:33:55 +08:00
meson: enable Wmisleading-indentation
Clang enables it by default, but GCC does not. Enable it explicitly to have some consistency between the supported compilers. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Acked-by: Eric Engestrom <eric@igalia.com> Acked-by: Dylan Baker <dylan.c.baker@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19439>
This commit is contained in:
parent
5a6f95db13
commit
1d86188dc0
@ -1145,6 +1145,7 @@ else
|
||||
'-Werror=incompatible-pointer-types',
|
||||
'-Werror=int-conversion',
|
||||
'-Wimplicit-fallthrough',
|
||||
'-Wmisleading-indentation',
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-format-truncation',
|
||||
'-fno-math-errno',
|
||||
@ -1158,6 +1159,7 @@ else
|
||||
_trial_cpp = [
|
||||
'-Werror=return-type',
|
||||
'-Werror=empty-body',
|
||||
'-Wmisleading-indentation',
|
||||
'-Wno-non-virtual-dtor',
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-format-truncation',
|
||||
|
Loading…
Reference in New Issue
Block a user