Ticket #507 (closed defect: wontfix)
Opened 4 years ago
Last modified 4 years ago
git-1.7.3.5 fails to build with gcc4
| Reported by: | scottmc | Owned by: | scottmc |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | dev-vcs/git | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When using haikuporter to build git-1.7.3.5 on a gcc4 Haiku I get the following error message.
compat/inet_ntop.c: In function 'inet_ntop': compat/inet_ntop.c:186: error: argument 'size' doesn't match prototype /boot/develop/headers/posix/arpa/inet.h:35: error: prototype declaration make: *** [compat/inet_ntop.o] Error 1
Change History
comment:1 Changed 4 years ago by bonefish
comment:2 Changed 4 years ago by scottmc
This builds ok with gcc2 but is failing with gcc4 still. Haven't have time to look into it deeper yet.
comment:3 Changed 4 years ago by scottmc
- Resolution set to wontfix
- Status changed from new to closed
Builds ok on a plain gcc4 system, so this may be a hybrid issue.
Note: See
TracTickets for help on using
tickets.

inet_ntop() is provided by libnetwork. I guess the main issue is a configure problem (not finding it/not searching it there). The other problem is that obviously the fallback version git provides doesn't have a POSIXly correct prototype.