This is the mail archive of the cygwin-patches@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New warnings building cygwin: AF_INET6 redefined


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]