[cfe-dev] Non-ANSI characters in libcxx/tuple

Marshall Clow mclow.lists at gmail.com
Tue Oct 1 06:31:39 PDT 2013


On Oct 1, 2013, at 4:41 AM, Csaba Raduly <rcsaba at gmail.com> wrote:

> On Tue, Oct 1, 2013 at 8:04 AM, Yaron Keren wrote:
>> 
>> After checking out libcxx:
>>  svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx
>> 
>> I find that in the include file "tuple" line 751 there are a couple of non-ANSI characters, see attached screen capture. These may be invisible with UTF-8 encoding but ANSI (or HEX) encoding reveals them:
>> 
>> 
>> 
>> clang complains about these.
>> 
>> This happened with TortoiseSVN-1.8.0.24401-x64-svn-1.8.0 and the latest TortoiseSVN-1.8.2.24708-x64-svn-1.8.3 on Windows x64.
>> 
>> Yaron
> 
> 
> Same thing happened on Linux after checking out libcxx r191739 with
> command-line svn. The bytes are 0xC2 0xA0, which is the UTF-8 encoding
> of U+00A0 a.k.a. NO-BREAK SPACE
> (http://www.fileformat.info/info/unicode/char/a0/index.htm)

"svn blame" says that I introduced them at revision 186237; which was back in July.
I don't know how they got there, or why no one noticed them for almost three months.

Fixed in revision 191756.


-- Marshall

Marshall Clow     Idio Software   <mailto:mclow.lists at gmail.com>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki





More information about the cfe-dev mailing list