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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=I6OV8pRbVk5oKDll sC+P78UgwMYPbJkPmL6+RcYLNlWgpAO8T3yN/9M7ETJrWRt1WyCeFhKgh+TiXT3W cRgIHWX/0CbmuqNJsbF7G664xgWXMdamIlyd/EmME9962N80KR4rjRfO30IPYuHl k5xWS4Okyvf/X368u3snABi43/Y= 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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=5ySSAhNR6rDbwQ5bX51V/8 aYbqM=; b=SkA1CpEIwSkV0xon8F9O7kTztjLidFcsXV+uQoHstp7LNdqdw66pW0 zxg2ibz94HOmGXB+CkXz99IVrelObSp7em6hWfkKdlRVh2TCTI5ESXAl1CRslShB DcWR1CQOYmtnFj7BgYEjJ0+BqSR+xniuYQCpLqFJJKSEC2yc8Wt6E= 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 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 Date: Sat, 1 Mar 2014 01:49:45 +0400 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <951366443.20140301014945@yandex.ru> To: Peter Rosin , cygwin AT cygwin DOT 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 DOT 20207 AT lysator DOT liu DOT se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 AT yandex DOT 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