Skip to content

Commit 9c539d1

Browse files
carenasgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 846a29a commit 9c539d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.mak.dev

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ endif
6868
# https://bugzilla.redhat.com/show_bug.cgi?id=2075786
6969
ifneq ($(filter gcc12,$(COMPILER_FEATURES)),)
7070
DEVELOPER_CFLAGS += -Wno-error=stringop-overread
71+
DEVELOPER_CFLAGS += -Wno-error=dangling-pointer
7172
endif
7273

7374
GIT_TEST_PERL_FATAL_WARNINGS = YesPlease

0 commit comments

Comments
 (0)