[LLVMbugs] [Bug 7517] New: behavior differs from g++'s if 'using namespace XXX', where XXX was never defined

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 28 15:41:32 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7517

           Summary: behavior differs from g++'s if 'using namespace XXX',
                    where XXX was never defined
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: gryzman at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


attached is a bit of code, that would compile in g++, but fails in clang++. 
Now I can kind of understand why it fails on clang++, nonetheless, you guys
want full compatibility with g++, so here's a bit of help. 

I am basically trying to compile libpqxx (not a great library, but good
exercise in c++ nonetheless). and this pops out from ./configure script;

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list