[Bug libstdc++/26142] New: global debug namespace clashes everywhere
mueller at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 7 00:16:00 GMT 2006
the
namespace debug = std::__gnu_debug;
from debug/debug.h (which is pulled in by almost every STL header) causes
quite some clashes and is a huge PITA, as debug is often a user application
namespace or
function.
why can't this be inside the std:: namespace or at least not be pulled in
by default? (without explicitely including this header, or even using some
define?)
this seems a violation of namespace cleanness to me. is this really defined
in ISO C++?
--
Summary: global debug namespace clashes everywhere
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mueller at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
More information about the Gcc-bugs
mailing list