[LLVMbugs] [Bug 14644] New: clang confuses scope operator for global namespace giving extra qualification on member

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 18 21:40:14 PST 2012


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

             Bug #: 14644
           Summary: clang confuses scope operator for global namespace
                    giving extra qualification on member
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: dummymail000 at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Blocks building Qt5:

class QCocoaWindow {};

class ::QCocoaWindow;

int main()
{
}

diagnostics:
error: extra qualification on member 'QCocoaWindow'

compiles and runs fine on gcc.

clang -v
clang version 3.3 (trunk 170492)
Target: x86_64-apple-darwin12.2.0
Thread model: posix

-- 
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