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

Reply via email to