config.mak.dev: alternative workaround to gcc 12 warning in http.c
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Carlo Marcelo Arenas Belón committed
Apr 15, 2022 at 16:13 UTC
9c539d1027df2a0f6e45b24d518e90d3baf1e7a5
1 file changed
+1
config.mak.dev
+1
@@ -68,6 +68,7 @@ endif
68
# https://bugzilla.redhat.com/show_bug.cgi?id=2075786
69
ifneq ($(filter gcc12,$(COMPILER_FEATURES)),)
70
DEVELOPER_CFLAGS += -Wno-error=stringop-overread
71
+DEVELOPER_CFLAGS += -Wno-error=dangling-pointer
72
endif
73
74
GIT_TEST_PERL_FATAL_WARNINGS = YesPlease