Browse Source

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
maint
Junio C Hamano 3 years ago
parent
commit
db4361bb29
  1. 6
      config.mak.dev

6
config.mak.dev

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

Loading…
Cancel
Save