[cfe-dev] Libc++ Windows preliminary test results

Eli Friedman eli.friedman at gmail.com
Mon Sep 26 14:10:02 PDT 2011


On Mon, Sep 26, 2011 at 1:35 PM, Ruben Van Boxem
<vanboxem.ruben at gmail.com> wrote:
>>  - <uchar.h>/<cuchar> is assumed to be present, which it is not on
>> Windows. It is, though, somewhere in Kyrgyzstan:
>> http://en.wikipedia.org/wiki/Uchar

uchar.h is part of ICU (http://icu-project.org/).

>>  - swprintf prototype is not the same for Windows (I did redefine it in
>> support/win32/support.h header, maybe an inline overload would be better)

http://msdn.microsoft.com/en-us/library/ybk95axf(v=vs.71).aspx says
that _snwprintf is equivalent to the standard swprintf.

>>  - clang chokes on decltype of vswprintf, thinking the
>> __attribute__((__dllimport__)) is the function name.

Strange... testcase?

-Eli




More information about the cfe-dev mailing list