This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cc1: warning: ../../include/w32api: No such file or directory [enabled by default]


Corinna Vinschen writes:
> It looks like this is a misbehaviour of gcc 4.7.3.  There are
> practically always non-existant default include dirs, not only on
> Cygwin.  If you try the same -Wmissing-include-dirs with gcc 4.8.1 on
> x86_64 Cygwin, there won't be such a warning.

I have no idea if that should be considered a bug or not, but the
combination "-Werror -Wmissing-include-dirs" is rendered useless due to
this.  Since it most assuredly doesn't point to a system path it uses
the current working directory instead in the final stage â so after
expansion the driver inserts a literal "-I ../../include/w32api", which
might silently pull in the wrong includes if the user happens to have
some directory like that.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]