[LLVMbugs] [Bug 19987] New: clang-cl: complains 'inheritance model does not match definition'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 9 15:49:31 PDT 2014


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

            Bug ID: 19987
           Summary: clang-cl: complains 'inheritance model does not match
                    definition'
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jmuizelaar at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Clang fails to compile the following code that succeeds with cl.exe

class A {};
template <class T> class B {
  void (T::*mCallOnResume)();
};
namespace q {
  class C : A, B<C> {
  };
};

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140609/d2a09a3a/attachment.html>


More information about the llvm-bugs mailing list