Revert -Wno-error=dangling-pointer
This reverts commit 9c539d1027 (config.mak.dev: alternative workaround to gcc 12 warning in http.c, 2022-04-15). Let's give GCC12's "dangling-pointer" warning a second chance, as we have a more focused workaround for this particular compiler glitch. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jun 1, 2022 at 08:49 UTC
419141e4958360966449f289d95a9787a919245f
1 file changed
-1
config.mak.dev
-1
@@ -68,7 +68,6 @@ 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
71
endif
72
73
GIT_TEST_PERL_FATAL_WARNINGS = YesPlease