> Hi Amos, > > Just found a little of time to try again the build of squid3-ipv6 > using MSYS+MinGW on Windows. > I have fixed some problem, but still doesn't build: > > make[2]: Entering directory `/c/work/mgw-3.0-ipv6/lib' > if g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include > -I/usr/mingw/include -I/usr/include/libxml2 -Werror -Wall > -Wpointer-arith -Wwrite-strings -Wcomments -g -O2 -mthreads -MT > IPAddress.o -MD -MP -MF ".deps/IPAddress.Tpo" -c -o IPAddress.o > IPAddress.cc; \ > then mv -f ".deps/IPAddress.Tpo" ".deps/IPAddress.Po"; else rm -f > ".deps/IPAddress.Tpo"; exit 1; fi > IPAddress.cc: In member function `bool IPAddress::ApplyMask(unsigned > int, int)': > IPAddress.cc:196: warning: unsigned int format, u_long arg (arg 2) > IPAddress.cc: In member function `bool IPAddress::operator=(const > hostent&)': > IPAddress.cc:682: warning: unsigned int format, u_long arg (arg 2) > IPAddress.cc: In member function `void > IPAddress::GetAddrInfo(addrinfo*&, int) const': > IPAddress.cc:818: warning: unsigned int format, long unsigned int arg (arg > 2) > IPAddress.cc: In member function `char* IPAddress::NtoA(char*, > unsigned int, int) const': > IPAddress.cc:985: error: `inet_ntop' was not declared in this scope > IPAddress.cc:985: warning: unused variable 'inet_ntop' > make[2]: *** [IPAddress.o] Error 1 > make[2]: Leaving directory `/c/work/mgw-3.0-ipv6/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/c/work/mgw-3.0-ipv6/lib' > make: *** [all-recursive] Error 1 > > On Windows inet_ntop is not available, I have found this wrapper: > http://www.mail-archive.com/[EMAIL PROTECTED]/msg02107.html > > What is you opinion about ? >
Looks almost exactly what I was going to write earlier when getaddrinfo came up. I'm testing the official ISC ones now. I think a copy with a clearly open and usable copyright would be a better form. No point in making the copyright issues in squid worse. And speaking of that; if you need any further changes in these or getaddrinfo/getnameinfo please remember to manually add a note to their internal changelogs. Amos
