Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)

make install

What did you expect to happen? (Expected behavior)

For git to build

What happened instead? (Actual behavior)

compat/precompose_utf8.c:80:9: error: implicit declaration of function 
'reencode_string_iconv' is invalid in C99 
[-Werror,-Wimplicit-function-declaration]
                out = reencode_string_iconv(in, inlen, ic_prec, 0, &outlen);
                      ^
compat/precompose_utf8.c:80:9: note: did you mean 'reencode_string_len'?
./utf8.h:36:21: note: 'reencode_string_len' declared here
static inline char *reencode_string_len(const char *a, size_t b,
                    ^
compat/precompose_utf8.c:80:7: warning: incompatible integer to pointer 
conversion assigning to 'char *' from 'int' [-Wint-conversion]
                out = reencode_string_iconv(in, inlen, ic_prec, 0, &outlen);
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
make: *** [compat/precompose_utf8.o] Error 1

What's different between what you expected and what actually happened?

Anything else you want to add:
I've been trying to build git so I could start trying to contribute, but 
have been running into trouble. I suspect it's got something to do
with libiconv. Any help would be appreciated because I'm stumped here.

Thanks,

K
Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.39.0
cpu: arm64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
uname: Darwin 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct  9 20:15:09 PDT 
2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 arm64
compiler info: clang: 14.0.0 (clang-1400.0.29.202)
libc info: no libc information available
$SHELL (typically, interactive shell): /bin/zsh


[Enabled Hooks]

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/5d8d0763-fcf7-4664-bac8-f49fa3a0ce9an%40googlegroups.com.

Reply via email to