This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [RFC] libstdc++/6720 and libstdc++/6671


Mark Mitchell <mark@codesourcery.com> writes:

[...]

| If we had a directory that contained *only* the standard headers, i.e,.
| <cmath>, <cstdio>, <iostream>, etc., then could we just put it at
| the front of the #include path?  In other words, *prepend*
| -I /path/to/dir to the front of the users command line?

I think that will work for standard headers.  How can we make that
work with extension headers?

| That would make sure that those header files won.  I guess it would
| be better if this affected:
| 
|   #include <cmath>
| 
| but not:
| 
|   #include "cmath"

You're right.

| I'm not sure if cpplib can keep track of separate lists for the two
| different syntaxes, but I suppose it could be taught to do so.

Yes.  But, I'll wait Zack to confirm.

-- Gaby


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