New warnings building cygwin: AF_INET6 redefined
Mumit Khan
khan@NanoTech.Wisc.EDU
Sat May 13 17:39:00 GMT 2000
Chris Faylor <cgf@cygnus.com> writes:
> i686-pc-cygwin-gcc -c -g -O2 -o ./hinfo.o hinfo.cc
> In file included from /cygnus/src/sourceware/winsup/w32api/include/windows.h:
> 123,
> from /cygnus/src/sourceware/winsup/cygwin/winsup.h:53,
> from /cygnus/src/sourceware/winsup/cygwin/hinfo.cc:22:
> /cygnus/src/sourceware/winsup/w32api/include/winsock.h:308: warning: `AF_INET
> 6' redefined
> /cygnus/src/sourceware/winsup/cygwin/include/cygwin/socket.h:69: warning: thi
> s is the location of the previous definition
>
> Is this due to your recent change, Mumit?
>
My fault -- forgot that winsock2 specs already define AF_INET6. I'll sync
the winsock and winsup that later in the evening. Till then it's harmless,
even if annoying.
Mumit
More information about the Cygwin-patches
mailing list