[LLVMbugs] [Bug 20136] New: dllimport on explicit specialization of dllexport function template is ignored
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jun 26 11:20:06 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20136
Bug ID: 20136
Summary: dllimport on explicit specialization of dllexport
function template is ignored
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: hans at chromium.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
In this example:
template <typename T> void __declspec(dllexport) f() { };
template void __declspec(dllimport) f<int>();
void foo() { f<int>(); }
We ignore dllimport on the f<int> instantiation, and end up exporting it, which
is the opposite of what MSVC does.
--
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/20140626/31c96569/attachment.html>
More information about the llvm-bugs
mailing list