diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
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.
Diffstat (limited to '')
-rw-r--r--source/cgit.mk2
1 file changed, 1 insertion, 1 deletion
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