Why warn about #include_next in system headers?
Neil Booth
neil@daikokuya.demon.co.uk
Tue Feb 6 10:54:00 GMT 2001
Zack Weinberg wrote:-
> > This is what was confusing me. The /usr appears after the <...> in
> > the list - I expected it to be under the "...". Looking at cppinit.c,
> > I notice that *nowhere* calls append_include_chain with "QUOTE" as the
> > include chain to put the path on (i.e. we could eliminate the QUOTE
> > enumeration constant).
>
> You've forgotten -I-.
Ah yes. Damn this search path stuff is confusing.
We can still get rid of QUOTE if we want. I believe Glibc uses -I-;
I've certainly seen it used somewhere.
Neil.
More information about the Gcc-bugs
mailing list