[cfe-dev] [libcxx]handling missing linux implementations
Ruben Van Boxem
vanboxem.ruben at gmail.com
Wed Feb 16 12:15:28 PST 2011
> On 15.02.2011, at 19:03, Howard Hinnant wrote:
>
> > I think this is a really promising direction. What we need to know now is: How available is uselocale on the platforms that this audience wants to port libc++ to? Does just Ubuntu have it? Other linux platforms? Windows?
>
> The Microsoft CRT has _l versions of most functions, but prefixed with another underscore (so, for example, _wctomb_l), so there should be no need for uselocale. Which it doesn't have.
It would be good to also keep Windows in mind. I think a lot of people
would like to see libcxx on Windows!
If there are Linux-Windows compatible CRT/glibc implementations, I
think it would be profitable for both platforms (and perhaps even for
Mac) to have a common implementation. It seems most locale stuff is
compatible enough (ignoring function and macro naming) to write common
code.
Ruben
More information about the cfe-dev
mailing list