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=rRxueu/vvdrTRrOxBVmu6uq/NoQWMl1g7JjU2D/dwyv/TSFptXqRs ztqPFRhEikkEmN1yBtiChzydcxDA2nqeIw97TVf9ycQHy3M4t3NCvCnJOH+hjvUT syHaAG2DCcvq6mFnGUj1XAkLVtGjpL6om7pt4HrT5uFEHi6A7Nk534= 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=98yZiX9hkRUmNh/AcZuewB2D4DA=; b=Myu7JWLzBDRnlSdwr1epAN/l4o/h mS0UMmwGn/iOG4ZNLs41vbRkVfpTynx1ussHvy7hVGILbyAwejDpFfjSgICz0LV/ wLESVtC6NB887/sv6W5ZZCsDZJ02V0NND8rSo6qe9LnFDbGdiibQ2szQNsVRB1bS TYM9Awo7ac+NWKo= 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=-1.1 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.3.1 Date: Mon, 29 Jul 2013 14:44:47 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cc1: warning: ../../include/w32api: No such file or directory [enabled by default] Message-ID: <20130729124447.GF30069@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <51F660C2 DOT 50709 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <51F660C2.50709@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) On Jul 29 20:32, JonY wrote: > On 7/29/2013 20:19, Achim Gratz wrote: > > 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? > > > > Honestly, I have no idea, ../../include/w32api sounds too high up the tree. It might be useful when using a cross toolchain. 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