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

Csaba Raduly rcsaba at gmail.com
Tue Oct 1 04:41:26 PDT 2013


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)

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds



More information about the cfe-dev mailing list