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:in-reply-to; q=dns; s= | |
default; b=iVdCEvVmIIlf9jP25RkXsz0RnTnEq03SW1bXcBeY7t+q9BYIcIoVr | |
uCv1IIOrJCS334QVO6V1qfQW0RVBWaGU+Fp9i9B8SW8yZshdiRjoDMktrmL2LmA9 | |
Z5yyYdm0m3uXBrbqlHUGBdxA/+66sOe894h20qneggenX3M7kEo4Kk= | |
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:in-reply-to; s=default; | |
bh=ruP/XmqxUOJsMUUEFUai3sQWPb8=; b=RM24CpCGdCFYYlkTKiyk0EQmeqXD | |
SwtuUmqhRDwqKKRIN4FK9R/KB29WABYk7cKm1Ol7ug3zLPWFOYOnnP/iX6+HbYH3 | |
gKrRpmnps6uS0K2qsIhobb5ZigMOMAliNuzKowCq5cp9m4z5KzNiRmEAjFQzQz7K | |
T3l1pPMoxmjIuDo= | |
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.1 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.3.1 |
Date: | Mon, 29 Jul 2013 14:44:08 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cc1: warning: ../../include/w32api: No such file or directory [enabled by default] |
Message-ID: | <20130729124408.GE30069@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <loom DOT 20130724T131352-6 AT post DOT gmane DOT org> <loom DOT 20130729T141755-373 AT post DOT gmane DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <loom.20130729T141755-373@post.gmane.org> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
On Jul 29 12:19, Achim Gratz wrote: > Achim Gratz <Stromeko <at> NexGo.DE> writes: > > The above warning appears when -Wmissing-include-dirs is in effect (and > > aborts compilation if -Werror is also given). The missing include path > > seems to be produced by the following compiler spec: > > > > %(cpp_cpu) [...] %{!nostdinc:%{!mno-win32:-idirafter ../include/w32api%s > > -idirafter ../../include/w32api%s}} > > > > which gets expanded into > > > > -idirafter /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/w32api > > -idirafter ../../include/w32api > > If I crate a link /usr/include -> /include then the warning / error is not > produced. Since I don't think /include is supposed to exist on Cygwin, it > seems the compiler spec is wrong? It looks like this is a misbehaviour of gcc 4.7.3. There are practically always non-existant default include dirs, not only on Cygwin. If you try the same -Wmissing-include-dirs with gcc 4.8.1 on x86_64 Cygwin, there won't be such a warning. 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 |