[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] Re: getaddrinfo
From: |
Bruno Haible |
Subject: |
[Bug-gnulib] Re: getaddrinfo |
Date: |
Tue, 9 Nov 2004 13:47:50 +0100 |
User-agent: |
KMail/1.5 |
Simon Josefsson wrote:
> >> + case PF_INET6:
> >
> > Can you protect this with #if HAVE_IPV6, to avoid compilation errors
> > on hosts that don't support IPv6 sockets? You find an autoconf macro for
> > HAVE_IPV6 in ...
>
> ...in? Can't seem to find it in gnulib at all.
Oops, I meant http://lists.gnu.org/archive/html/bug-gnulib/2004-09/msg00079.html
Since getaddrinfo will probably not be the only module to use HAVE_IPV6,
I have now put it under m4/sockpfaf.m4.
> >> + tmp->ai_addrlen = sizeof (sin);
> >
> > 'sin' is not a defined variable.
>
> Oops. So it cannot ever have compiled. So it seems none of my
> platform lack getaddrinfo...
I do such testing by manually removing the "#define HAVE_GETADDRINFO 1" line
from config.h on a glibc system, and then compile with -Wall.
Bruno
- [Bug-gnulib] Re: getaddrinfo, Simon Josefsson, 2004/11/08
- Re: [Bug-gnulib] Re: getaddrinfo, Paul Eggert, 2004/11/08
- Re: [Bug-gnulib] Re: getaddrinfo, Bruno Haible, 2004/11/09
- [Bug-gnulib] Re: getaddrinfo, Simon Josefsson, 2004/11/09
- [Bug-gnulib] Re: getaddrinfo,
Bruno Haible <=
- [Bug-gnulib] Re: getaddrinfo, Simon Josefsson, 2004/11/09
- Re: [Bug-gnulib] Re: getaddrinfo, Bruno Haible, 2004/11/09
- [Bug-gnulib] Re: getaddrinfo, Simon Josefsson, 2004/11/09
- Re: [Bug-gnulib] Re: getaddrinfo, Paul Eggert, 2004/11/09
- Re: [Bug-gnulib] Re: getaddrinfo, Paul Eggert, 2004/11/09
- Re: [Bug-gnulib] Re: getaddrinfo, Bruno Haible, 2004/11/10
- [Bug-gnulib] Re: getaddrinfo, Simon Josefsson, 2004/11/10
- Re: [Bug-gnulib] Re: getaddrinfo, Bob Proulx, 2004/11/09
- [Bug-gnulib] Re: getaddrinfo, Simon Josefsson, 2004/11/09