[LLVMbugs] [Bug 16480] New: Uniform initialization of base class template fails

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 28 02:07:38 PDT 2013


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

            Bug ID: 16480
           Summary: Uniform initialization of base class template fails
           Product: clang
           Version: 3.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: npl at chello.at
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10790
  --> http://llvm.org/bugs/attachment.cgi?id=10790&action=edit
code producing the error

under certain circumstances, clang doesnt compile valid C++ code.
I added an example without any external references, the most important thing to
trigger the issue seems to be the "sizeof...(tp_Init)" in the constructor. If
you somehow replace this fragment (like by a constant "4", or using a typedef),
clang compiles nicely

-- 
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/20130628/3e12db52/attachment.html>


More information about the llvm-bugs mailing list