<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 --- - Instantiating operator<< for std::basic_ostream<char32_t> fails"
href="http://llvm.org/bugs/show_bug.cgi?id=18010">18010</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Instantiating operator<< for std::basic_ostream<char32_t> fails
</td>
</tr>
<tr>
<th>Product</th>
<td>libc++
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>hhinnant@apple.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>stuart_olsen@txstate.edu
</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>Created <span class=""><a href="attachment.cgi?id=11575" name="attach_11575" title="Source code and errors for this bug">attachment 11575</a> <a href="attachment.cgi?id=11575&action=edit" title="Source code and errors for this bug">[details]</a></span>
Source code and errors for this bug
Under clang 3.4 (trunk 194413) and libc++ (trunk 194418), trying to use
operator<< to print a UTF-32 string literal to a std::basic_ostream<char32_t>
results in an implicit instantiation of an undefined template, and thus an
error.
Compiling reproduce.cc (attached) yields the attached error messages using
'clang++ -std=c++1y -stdlib=libc++ reproduce.cc'. This actually caused clang to
crash one while I was reducing the code to the problematic portions, but I have
not been able to reproduce this.</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>