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: Peter Rosin <peda at lysator dot liu dot se>
- To: cygwin at cygwin dot com
- Date: Sat, 01 Mar 2014 00:03:05 +0100
- 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> <951366443 dot 20140301014945 at yandex dot ru>
On 2014-02-28 22:49, Andrey Repin wrote:
> 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.
Wasn't that problem that other way around? I.e. with /bin being
the bad option?
Anyway, let me guess... You didn't try the recipe. Please do that.
And no, I do not have both /bin and /usr/bin in $PATH, and it
doesn't matter which of them I have.
Cheers,
Peter
--
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