[cfe-dev] [PATCH] Libc++ Windows fixes (Attention all libc++ ports!!!)

Joerg Sonnenberger joerg at britannica.bec.de
Mon Sep 26 11:01:16 PDT 2011


On Mon, Sep 26, 2011 at 12:42:12PM -0400, Howard Hinnant wrote:
> In a nutshell, libc++ needs to be able to get the functionality of
> sprintf, but using the "C" locale instead of the current global or
> per-thread locale.  And ditto for several other C I/O functions.

OK. Basic background of the question is that specifying an explicit
locale is fine in terms of API design and useful to adopt. The concept
of per-thread locale is just insane, so I want to make sure that it
isn't needed for libc++.

Joerg



More information about the cfe-dev mailing list