Redefinition of `struct in6_addr'?

Samuel Thibault samuel.thibault@ens-lyon.org
Wed Apr 24 18:25:00 GMT 2013


Corinna Vinschen, le Wed 24 Apr 2013 19:51:07 +0200, a écrit :
> > > /usr/include/cygwin/in6.h:75:8: error: redefinition of ‘struct in6_addr’
> > > /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/in6addr.h:17:16:
> > > note: originally defined here
> 
> Don't know this file but this is a bug in config.h.  struct in6_addr
> is defined in a system header, so it should not be gratuitously defined 
> in a project header, especially if the definition collides with the
> right one from the system header.

Mmm, but here it's w32api definition vs cygwin definition.

Samuel

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list