<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - clang fails to compile source with unicode literals under -std=gnu99"
href="https://llvm.org/bugs/show_bug.cgi?id=24188">bug 24188</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - clang fails to compile source with unicode literals under -std=gnu99"
href="https://llvm.org/bugs/show_bug.cgi?id=24188#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - clang fails to compile source with unicode literals under -std=gnu99"
href="https://llvm.org/bugs/show_bug.cgi?id=24188">bug 24188</a>
from <span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=24188#c3">comment #3</a>)
<span class="quote">> C99 standard originally did not include character constants of this kind,
> but they appeared in 2011 edition of C99 standard.</span >
There is no such thing. ISO/IEC 9899:2011 is a separate standard from
ISO/IEC9899:1999, and while the former replaces the latter, it is not "an
edition of" the C99.
If you want C11 support, you need to use -std=c11 rather than -std=c99.
<span class="quote">> Are there any plans to support this feature?</span >
We already do, if you enable support for the language mode that adds it.
Anyway, resolving INVALID: if you want C11 language features that are not a
conforming extension to C99, don't turn off C11 mode (it's enabled by default
in Clang 3.7 onwards).</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>