diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-04-17 16:32:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-04-17 16:32:05 -0700 |
commit | db4361bb298d6cd1e07c1219e2c190526dd24e86 (patch) | |
tree | 9e94fbbb8d1a74f61b4753c4c0b83c2418c8c230 | |
parent | Merge branch 'jc/revert-ref-transaction-hook-changes' (diff) | |
parent | config.mak.dev: alternative workaround to gcc 12 warning in http.c (diff) | |
download | tgif-db4361bb298d6cd1e07c1219e2c190526dd24e86.tar.xz |
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
-rw-r--r-- | config.mak.dev | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.mak.dev b/config.mak.dev index 3deb076d5e..c3104f400b 100644 --- a/config.mak.dev +++ b/config.mak.dev @@ -65,4 +65,10 @@ DEVELOPER_CFLAGS += -Wno-uninitialized 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 |