This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cc1: warning: ../../include/w32api: No such file or directory [enabled by default]
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Peter Rosin <peda at lysator dot liu dot se>, cygwin at cygwin dot com
- Date: Sat, 1 Mar 2014 01:49:45 +0400
- Subject: Re: cc1: warning: ../../include/w32api: No such file or directory [enabled by default]
- Authentication-results: sourceware.org; auth=none
- References: <5310F19A dot 20207 at lysator dot liu dot se>
- Reply-to: cygwin at cygwin dot com
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