mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
meson: Relax -Wmaybe-uninitialized errors
Suggested-by: @eric Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853>
This commit is contained in:
parent
ee56aed92d
commit
b16c62b6b2
4 changed files with 2 additions and 3 deletions
|
|
@ -1131,6 +1131,7 @@ else
|
|||
'-Werror=int-conversion',
|
||||
'-Wimplicit-fallthrough',
|
||||
'-Wmisleading-indentation',
|
||||
'-Wno-error=maybe-uninitialized',
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-format-truncation',
|
||||
'-Wno-nonnull-compare',
|
||||
|
|
@ -1147,6 +1148,7 @@ else
|
|||
'-Werror=return-type',
|
||||
'-Werror=empty-body',
|
||||
'-Wmisleading-indentation',
|
||||
'-Wno-error=maybe-uninitialized',
|
||||
'-Wno-non-virtual-dtor',
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-format-truncation',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ c_args_gm = cc.get_supported_arguments([
|
|||
'-Werror=override-init',
|
||||
'-Werror=enum-conversion',
|
||||
'-Werror=enum-compare',
|
||||
'-Werror=maybe-uninitialized',
|
||||
])
|
||||
|
||||
c_args_gm += [
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ c_args_lanczos = cc.get_supported_arguments([
|
|||
'-Werror=override-init',
|
||||
'-Werror=enum-conversion',
|
||||
'-Werror=enum-compare',
|
||||
'-Werror=maybe-uninitialized',
|
||||
])
|
||||
|
||||
c_args_lanczos += [
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ c_args_vpe = cc.get_supported_arguments([
|
|||
'-Werror=override-init',
|
||||
'-Werror=enum-conversion',
|
||||
'-Werror=enum-compare',
|
||||
'-Werror=maybe-uninitialized',
|
||||
'-Werror=parentheses',
|
||||
])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue