This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.0.2: errno conflict.
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Joe Buck <jbuck at synopsys dot COM>
- Cc: Gabriel Dos Reis <gdr at codesourcery dot com>, Maxim Dementiev <max at e-soft dot ru>, gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Sat, 15 Dec 2001 21:29:09 -0800 (PST)
- Subject: Re: GCC 3.0.2: errno conflict.
> 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