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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) Achim Gratz 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