[Patch] libc++: Add a default rune table

Jonathan Roelofs jonathan at codesourcery.com
Wed Dec 10 06:46:35 PST 2014


+danalbert

Dan, didn't you file a PR saying that libc++ should just have its own table, and 
use that for everything?

Newlib and Bionic have this issue where some of the locale classification 
routines can't be implemented because their masks aren't proper bitmasks... This 
looks like it'll work for that.


Cheers,

Jon

On 12/10/14 4:55 AM, Ed Schouten wrote:
> Hi there,
>
> In an attempt to get libc++ working in a new POSIX-like environment
> (to be released to the public early/mid next year), I noticed that
> libc++ unconditionally requires that the environment provides a
> character class table for ASCII. Though most operating systems provide
> such a table (or use such a table internally), there is no standards
> requirement that such a table is provided.
>
> The classic_table() function currently prints a message and aborts
> when compiled on such a system, whereas it could easily fall back to
> an integrated table. Attached is a patch that adds such a table.
>
> URL: http://80386.nl/pub/20141210-libcxx-runetable.txt
>
> Best regards,
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded



More information about the cfe-commits mailing list