[llvm-bugs] [Bug 24188] clang fails to compile source with unicode literals under -std=gnu99

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 28 11:26:47 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=24188

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Richard Smith <richard-llvm at metafoo.co.uk> ---
(In reply to comment #3)
> C99 standard originally did not include character constants of this kind,
> but they appeared in 2011 edition of C99 standard.

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.

> Are there any plans to support this feature?

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).

-- 
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/20160328/b4f1c507/attachment.html>


More information about the llvm-bugs mailing list