[LLVMbugs] [Bug 23667] New: Clang fails to dllexport explicit class template specialization definition with previous explicit template specialization declaration

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 26 16:02:40 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23667

            Bug ID: 23667
           Summary: Clang fails to dllexport explicit class template
                    specialization definition with previous explicit
                    template specialization declaration
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hans at chromium.org
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

For example:

template <typename T> struct S { void f() {} };
extern template struct S<int>;
template struct __declspec(dllexport) S<int>;

MSVC and MinGW export S<int> here, but Clang doesn't.

-- 
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/20150526/457a7ef3/attachment.html>


More information about the llvm-bugs mailing list