delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:content-transfer-encoding | |
:in-reply-to; q=dns; s=default; b=dRjJSKS/YY9Tk1QFaKjajFCjQYzyR3 | |
+1yqreEgy36IH6JwbkhwZQrIqV22NIa80Sp5UoCn4ESLUJMOyNzGNOr9XASCM6E9 | |
5+XXGmoXYQMFMr8tz87E6IPNGKF7ui7qHO18Rx/dH6YqBx7a9upf8MuCT9SiH3he | |
oNleubgLe7GQY= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:content-transfer-encoding | |
:in-reply-to; s=default; bh=BGVReJYus3PInQFslZA8D/gk+u4=; b=Zkrt | |
WPsZ1xh/FupCk019DtITCPykheOwsy5d+3nsWkkjAjP/gYonlg1ueUg6C9nHcuOj | |
+dTdRhkZOOrA+bAu+WGYWBhR//GLfOqPI5wPl/NUbE0IgJNNSxY4wqfKM4PCcHMM | |
jPCqj2HwMlY5/jk2b/J4QEpJnZhOXrH3wA1Va6I= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Spam-SWARE-Status: | No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 |
Date: | Wed, 24 Apr 2013 20:12:48 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Redefinition of `struct in6_addr'? |
Message-ID: | <20130424181248.GA26397@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAEE3Wrm8MwsN2MMNTRGdLgJvSHPnusJN-TXZrJFL-26BtrW_ng AT mail DOT gmail DOT com> <20130424154409 DOT GX26397 AT calimero DOT vinschen DOT de> <CAEE3Wrm4iARi33g3gOqfbyJ_Jwc6phQ8xNZSQ6=Cknj-bUQ1-g AT mail DOT gmail DOT com> <CE9C056E12502146A72FD81290379E9A6095C4FA AT ENFIRHMBX1 DOT datcon DOT co DOT uk> <CAEE3Wr=cDmAKuJ5rDK0wYoW9hVYzdfTnXCvjVMUhe0qgC4kzGA AT mail DOT gmail DOT com> <20130424175107 DOT GZ26397 AT calimero DOT vinschen DOT de> <20130424175359 DOT GH5968 AT type DOT youpi DOT perso DOT aquilenet DOT fr> |
MIME-Version: | 1.0 |
In-Reply-To: | <20130424175359.GH5968@type.youpi.perso.aquilenet.fr> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
On Apr 24 19:53, Samuel Thibault wrote: > 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. Maybe I didn't read it exactly, but the bottom line here is, when building for Cygwin, either use the POSIX network headers (preferredly), or use winsock.h. Mixing them is not supported. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |