[PATCH 2/2] config.mak.dev: alternative workaround to gcc 12 warning in http.c
- From
Carlo Marcelo Arenas Belón <carenas@gmail.com>
- Date
- Apr 15, 2022, 23:13 UTC
- Message-ID
- <20220415231342.35980-3-carenas@gmail.com>
- In-Reply-To
- <20220415231342.35980-1-carenas@gmail.com>
This provides a "no code change needed" option to the "fix" currently queued as part of ab/http-gcc-12-workaround and therefore should be reverted once that gets merged.
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com> --- config.mak.dev | 1 + 1 file changed, 1 insertion(+)
diff --git a/config.mak.dev b/config.mak.dev index 335efd46203..c3104f400b2 100644 --- a/config.mak.dev +++ b/config.mak.dev @@ -68,6 +68,7 @@ endif # https://bugzilla.redhat.com/show_bug.cgi?id=2075786 ifneq ($(filter gcc12,$(COMPILER_FEATURES)),) DEVELOPER_CFLAGS += -Wno-error=stringop-overread +DEVELOPER_CFLAGS += -Wno-error=dangling-pointer endif GIT_TEST_PERL_FATAL_WARNINGS = YesPlease
-- 2.36.0.rc2.283.gbef64175c85