<html>
<head>
<base href="https://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 fails on #include <string>" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24231&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=JD3LEgQOCVZDl3vwPAkTGAnegLIHtIsG56UgiOaoRxk&s=o3sXj4swzNf1A5cLx8hWb4-CBF2AjcPIxhZ5pBpY63c&e=">24231</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang-cl fails on #include <string>
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.7
</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>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>russell.wallace@gmail.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>With LLVM 3.7.0rc1 and Visual Studio 2015, running clang-cl on a source file
consisting only of
#include <string>
gets
In file included from a.cpp:1:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\string:6:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\istream:6:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\ostream:6:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\ios:6:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\xlocnum:7:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\cmath:656:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\xtgmath.h:8:
C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\xtr1common(231,22) : error: use of undeclared identifier
'char16_t'
struct _Is_integral<char16_t>
^
C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\xtr1common(237,22) : error: use of undeclared identifier
'char32_t'
struct _Is_integral<char32_t>
^
In file included from a.cpp:1:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\string:6:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\istream:6:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\ostream:6:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\ios:6:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\xlocnum:10:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\streambuf:6:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\xiosbase:6:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\xlocale:8:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\stdexcept:6:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\exception:7:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE\type_traits:6:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstddef(408,14)
: error: use of undeclared identifier 'char16_t'
struct hash<char16_t>
^
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstddef(414,14)
: error: use of undeclared identifier 'char32_t'
struct hash<char32_t>
(etc)</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>