From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12617 invoked by alias); 29 Jul 2013 12:19:50 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 12589 invoked by uid 89); 29 Jul 2013 12:19:49 -0000 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 Received: from Unknown (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 29 Jul 2013 12:19:47 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V3mQM-0003vz-2S for cygwin@cygwin.com; Mon, 29 Jul 2013 14:19:38 +0200 Received: from 217.10.52.10 ([217.10.52.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Jul 2013 14:19:38 +0200 Received: from Stromeko by 217.10.52.10 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Jul 2013 14:19:38 +0200 To: cygwin@cygwin.com From: Achim Gratz Subject: Re: cc1: warning: ../../include/w32api: No such file or directory [enabled by default] Date: Mon, 29 Jul 2013 12:44:00 -0000 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/) X-SW-Source: 2013-07/txt/msg00645.txt.bz2 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