[RFC] libstdc++/6720 and libstdc++/6671

Gabriel Dos Reis gdr@codesourcery.com
Wed May 22 12:59:00 GMT 2002


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



More information about the Libstdc++ mailing list