Skip to content

Commit db4361b

Browse files
committed
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
2 parents 4027e30 + 9c539d1 commit db4361b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config.mak.dev

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,10 @@ DEVELOPER_CFLAGS += -Wno-uninitialized
6565
endif
6666
endif
6767

68+
# https://bugzilla.redhat.com/show_bug.cgi?id=2075786
69+
ifneq ($(filter gcc12,$(COMPILER_FEATURES)),)
70+
DEVELOPER_CFLAGS += -Wno-error=stringop-overread
71+
DEVELOPER_CFLAGS += -Wno-error=dangling-pointer
72+
endif
73+
6874
GIT_TEST_PERL_FATAL_WARNINGS = YesPlease

0 commit comments

Comments
 (0)