ci/build: add workaround for incorrect maybe-uninitialized error

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31890>
This commit is contained in:
Eric Engestrom 2024-11-01 21:05:57 +01:00 committed by Marge Bot
parent f09ae95c10
commit 4ad8a5443b

View file

@ -340,10 +340,13 @@ fedora-release:
variables:
BUILDTYPE: "release"
# array-bounds are pure non-LTO gcc buggy warning
# maybe-uninitialized is misfiring in nir_lower_gs_intrinsics.c, and
# a "maybe" warning should never be an error anyway.
C_ARGS: >
-Wno-error=stringop-overflow
-Wno-error=stringop-overread
-Wno-error=array-bounds
-Wno-error=maybe-uninitialized
CPP_ARGS: >
-Wno-error=dangling-reference
-Wno-error=overloaded-virtual