From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29973 invoked by alias); 28 Feb 2014 21:50:15 -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 29860 invoked by uid 89); 28 Feb 2014 21:50:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtpback.ht-systems.ru Received: from smtpback.ht-systems.ru (HELO smtpback.ht-systems.ru) (78.110.50.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 28 Feb 2014 21:50:13 +0000 Received: from [91.76.98.252] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) id 1WJVJm-0001E8-Tb; Sat, 01 Mar 2014 01:50:07 +0400 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 28 Feb 2014 21:49:46 -0000 Date: Fri, 28 Feb 2014 21:50:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <951366443.20140301014945@yandex.ru> To: Peter Rosin , cygwin@cygwin.com Subject: Re: cc1: warning: ../../include/w32api: No such file or directory [enabled by default] In-Reply-To: <5310F19A.20207@lysator.liu.se> References: <5310F19A.20207@lysator.liu.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00756.txt.bz2 Greetings, Peter Rosin! > If I: $ : >>tmp.c > $ gcc -E -Wmissing-include-dirs tmp.c >/dev/null > I get this annoying warning on stderr: > cc1: warning: ../../include/w32api: No such file or directory [enabled by default] > Searching the 'net suggests that it's an old bug: > http://cygwin.com/ml/cygwin/2013-07/msg00509.html Let me guess... You have /usr/bin in $PATH. Specifically you have it preceding /bin. Remove it. -- WBR, Andrey Repin (anrdaemon@yandex.ru) 01.03.2014, <01:45> Sorry for my terrible english... -- 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