namespace issues with old C headers
Gabriel Dos Reis
gdr@integrable-solutions.net
Tue Apr 15 07:59:00 GMT 2003
Joe Buck <jbuck@synopsys.com> writes:
| On Sun, Apr 13, 2003 at 10:35:12AM +0200, Gabriel Dos Reis wrote:
| > | My code might compile on GNU's
| > | C++ library version foo, but not version bar, and certainly not in
| > | someone else's libstdc++ implementation.
| >
| > Yes, and that is not libstdc++'s problem. If you want to solve that
| > problem then you need to take to the C++ standards committees.
|
| I disagree; the standards committees are not forcing libstdc++ to
| promiscuously include headers, they are only PERMITTING it to do so.
| The standard is a minimum requirement only.
That statement, taken out of the context, is right. However, put in
its context (which is <math.h> vs. <cmath>) is not right. The C++
standard requirements are quite clear oon what should happen to
<cmath> and <math.h>.
Regarding the statement of the David quoted above, I stand with my
assertion.
-- Gaby
More information about the Libstdc++
mailing list