[llvm-bugs] [Bug 38582] u8 character literal prefix is causing an error despite it being part of the standard

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 31 13:13:45 PDT 2018


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

Erich Keane <erich.keane at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID
                 CC|                            |erich.keane at intel.com

--- Comment #9 from Erich Keane <erich.keane at intel.com> ---
(In reply to Marcus Johnson from comment #8)
> Hey Craig, MSVC's c mode is limited to c89, is it really a question that it
> doesn't support UTF-8, which didn't even exist back then?
> 
> Did Unicode even exist then?

There are zero compilers that compile u8 char literals in C mode. Therefore,
this is in no way a compatibility bug.

Additionally, enabling them as an extension would break valid code, as Richard
pointed out, which makes implementing this actually harmful.

This bug is 100% invalid and will not be implemented in clang unless you can
convince WG14 this is worth doing. 

Please do not reopen this, the maintainer for Clang rejected this already and
explained it in very clear terms why it would be harmful.

-- 
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/20180831/636851b4/attachment.html>


More information about the llvm-bugs mailing list