[LLVMbugs] [Bug 13342] New: Clang doesn' t warn about direct base ‘{anonymous} :: S1’ inaccessible in ‘{anonymous} :: D9’ due to ambiguity

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 12 02:06:43 PDT 2012


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

             Bug #: 13342
           Summary: Clang doesn't warn about direct base ‘{anonymous}::S1’
                    inaccessible in ‘{anonymous}::D9’ due to ambiguity
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


When building LLVM's unittests, gcc warns that:

unittests/Support/AlignOfTest.cpp:65:8: warning: direct base ‘{anonymous}::S1’
inaccessible in ‘{anonymous}::D9’ due to ambiguity

According to Chandler this is correct and clang should warn about it too.

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