[EMAIL PROTECTED] (Eric Blake) writes: > gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. -Wall -c ../../lib/canon-host.c > ../../lib/canon-host.c: In function `canon_host_r': > ../../lib/canon-host.c:71: warning: implicit declaration of function > `getaddrinfo' > ../../lib/canon-host.c:77: warning: implicit declaration of function > `freeaddrinfo' > ../../lib/canon-host.c: In function `ch_strerror': > ../../lib/canon-host.c:89: warning: implicit declaration of function > `gai_strerror' > ../../lib/canon-host.c:89: warning: return makes pointer from integer without > a cast > > Cygwin provides sys/socket.h and netdb.h, but has not yet > provided an implementation for getaddrinfo, freeaddrinfo, > or gai_strerror. It looks like getaddrinfo.h is using > #ifndef HAVE_DECL_GETADDRINFO, but AC_CHECK_DECLS > uses #define HAVE_DECL_GETADDRINFO 0 in config.h. > > Fortunately, the implicit definition of these functions works on > cygwin (all arguments are int or pointer, and cygwin uses 32-bit > pointers), but it is a bug waiting to happen on a 64-bit platform. > > Fixed thusly:
Installed, thanks! _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib