delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/29/08:20:04

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=inbLnTLb6bB7xZKOtCDi6+Bn2BMj7zDE4TAATRDo9SYrDdn4LAONU
zf3qF2I1EV63+DoGi6ZArK6Z4+W2ARH98Sw8n8hk1OI2nw/9lSj977k5J/nnv9kB
+Sclx3Pe1wpwHoMaoCL1boyI2dKIxdob7jkn1ujCp2O9UXlZ/+n5Xw=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=QqYtlDhaJ7PYiLivQpUY0TfP5SE=; b=j4/4in2L/qPtAHjAGl1krRcmJAdU
Ud9ITj4VVLRvKWsr31IN6ug0jM81p7gUplGhYMuwXYRbwMLf6f5q3E2v3tNDE2cN
R1Ec7va9rMqJ8xueWKKq8luz2BN/sICAvjU58OIZwUs71AwVmjxPLqXG0KiIipe0
RFnisuPKy/8XweI=
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=-0.4 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_NUMERIC_HELO,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: cc1: warning: ../../include/w32api: No such file or directory [enabled by default]
Date: Mon, 29 Jul 2013 12:19:21 +0000 (UTC)
Lines: 22
Message-ID: <loom.20130729T141755-373@post.gmane.org>
References: <loom DOT 20130724T131352-6 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)

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?


Regards,
Achim.




--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019