summaryrefslogtreecommitdiffstats
path: root/config.mak.dev
diff options
context:
space:
mode:
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>2022-04-16 01:13:42 +0200
committerJunio C Hamano <gitster@pobox.com>2022-04-16 01:27:04 +0200
commit9c539d1027df2a0f6e45b24d518e90d3baf1e7a5 (patch)
tree9c97ba69ee3c58fba6a30ff7e61eb6281d35fb7e /config.mak.dev
parentconfig.mak.dev: workaround gcc 12 bug affecting "pedantic" CI job (diff)
downloadgit-9c539d1027df2a0f6e45b24d518e90d3baf1e7a5.tar.xz
git-9c539d1027df2a0f6e45b24d518e90d3baf1e7a5.zip
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>
Diffstat (limited to 'config.mak.dev')
-rw-r--r--config.mak.dev1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.dev b/config.mak.dev
index 335efd4620..c3104f400b 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