public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cc1: warning: ../../include/w32api: No such file or directory [enabled by default]
@ 2013-07-24 12:59 Achim Gratz
  2013-07-29 12:44 ` Achim Gratz
  0 siblings, 1 reply; 8+ messages in thread
From: Achim Gratz @ 2013-07-24 12:59 UTC (permalink / raw)
  To: cygwin

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

Is this to be expected?


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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* cc1: warning: ../../include/w32api: No such file or directory [enabled by default]
@ 2014-02-28 20:54 Peter Rosin
  2014-02-28 21:50 ` Andrey Repin
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Rosin @ 2014-02-28 20:54 UTC (permalink / raw)
  To: cygwin

Hi!

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

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-02-28 21:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-24 12:59 cc1: warning: ../../include/w32api: No such file or directory [enabled by default] Achim Gratz
2013-07-29 12:44 ` Achim Gratz
2013-07-29 12:44   ` JonY
2013-07-29 13:42     ` Corinna Vinschen
2013-07-29 13:36   ` Corinna Vinschen
2013-07-29 16:58     ` Achim Gratz
2014-02-28 20:54 Peter Rosin
2014-02-28 21:50 ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).