<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - clang-cl: Building <string> with multithreaded run-time gives link errors"
href="http://llvm.org/bugs/show_bug.cgi?id=19150">19150</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang-cl: Building <string> with multithreaded run-time gives link errors
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jmuizelaar@mozilla.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>$ cat test.cc
#include <string>
int main()
{
}
$ clang-cl -MD -GR- -D_HAS_EXCEPTIONS=0 test.cc
test-2f8590.obj : error LNK2019: unresolved external symbol "public: static
class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)
referenced in function "class std::ctype<char> const & __cdecl
std::use_facet<class std::ctype<char> >(class std::locale const &)"
(??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
test-2f8590.obj : error LNK2019: unresolved external symbol "public: static
class std::locale::id std::ctype<wchar_t>::id"
(?id@?$ctype@_W@std@@2V0locale@2@A) referenced in function "class
std::ctype<wchar_t> const & __cdecl std::use_facet<class std::ctype<wchar_t>
<span class="quote">>(class std::locale const &)"</span >
(??$use_facet@V?$ctype@_W@std@@@std@@YAABV?$ctype@_W@0@ABVlocale@0@@Z)
test-2f8590.obj : error LNK2019: unresolved external symbol "private: static
int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA) referenced in
function
"public: __thiscall std::locale::id::operator unsigned int(void)"
(??Bid@locale@std@@QAEIXZ)
test.exe : fatal error LNK1120: 3 unresolved externals
clang-cl.exe: error: linker command failed with exit code 1120 (use -v to see
in
vocation)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>