1
0
mirror of https://github.com/git/git.git synced 2024-10-20 22:48:24 +02:00

Merge branch 'cb/buggy-gcc-12-workaround'

A couple of work around for CI breaking warnings from gcc 12.

* cb/buggy-gcc-12-workaround:
  config.mak.dev: alternative workaround to gcc 12 warning in http.c
  config.mak.dev: workaround gcc 12 bug affecting "pedantic" CI job
This commit is contained in:
Junio C Hamano 2022-04-17 16:32:05 -07:00
commit db4361bb29

@ -65,4 +65,10 @@ DEVELOPER_CFLAGS += -Wno-uninitialized
endif endif
endif 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 GIT_TEST_PERL_FATAL_WARNINGS = YesPlease