From 0bfd77ff5b97241e46d307d59b3a2d89995b03ce Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 16 Oct 2026 06:23:56 -1000 Subject: Pass callbacks to git by address ISO C has no conversion between a function pointer and void *, so the callbacks handed through git's data pointers and the write found by dlsym stopped the pedantic half of a DEVELOPER=1 build. --- source/cgit.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cgit.mk') diff --git a/source/cgit.mk b/source/cgit.mk index 4109930..6e17737 100644 --- a/source/cgit.mk +++ b/source/cgit.mk @@ -34,7 +34,7 @@ $(CGIT_BUILD)/VERSION: force-version # Pinned so a compiler moving its default, as GCC 15 did to gnu23, cannot # change what the sources mean. The GNU dialect because git's headers use GNU -# extensions and dlsym needs a non-conforming cast. Git keeps its own choice. +# extensions. Git keeps its own choice. CGIT_STD ?= gnu17 # CGIT_CFLAGS is tracked separately so that changing it does not force a rebuild -- cgit