GCC 3.0.2: errno conflict.

Benjamin Kosnik bkoz@redhat.com
Sat Dec 15 23:30:00 GMT 2001


> For one thing, it would mean that all C functions are in the global
> namespace, since, by your argument, any system header can include any
> other header, including the old C headers.

We are talking about a macro here, first of all. Not a function.

Second of all, C++ headers are cerrno, and things like cstdarg, which 
explicitly put into namespace std::. The C compatibilty headers are things like 
stdarg.h, that inject the std names into the global namespace.

I consider this issue resolved.

-benjamin



More information about the Gcc mailing list