[cfe-dev] stddef doesn't support for wint_t at windows mingw.

Eli Friedman eli.friedman at gmail.com
Sun Aug 9 16:56:55 PDT 2009


On Sun, Aug 9, 2009 at 4:49 PM, Eli Friedman<eli.friedman at gmail.com> wrote:
> On Sun, Aug 9, 2009 at 4:19 PM, 罗勇刚(Yonggang Luo)<luoyonggang at gmail.com> wrote:
>>> output of something like "clang -v hello.c"?
>>
>> Because of I copied those files that placed at Headers into
>> D:/Tools/Building/llvm/lib/clang/1.0/include,
>> And also I copied those headers of mingw-rt and also mingw-w32 into
>> D:/Tools/Building/llvm/lib/clang/1.0/include
>> And I used three file comes from Headers overwrite those files comes
>> from mingw.(float.h stdint.h limits.h)
>>
>> So it's working.
>
> Hmm, okay... that sounds like a bug in the build system.  The files in
> question are supposed to be copied automatically.

Wait, no, it sounds more like it doesn't know where to find the system
headers?  On a normal Unix-y system, the relevant headers are in
/include or /usr/include, but that obviously isn't going to work here
without some external help... I think some variant of the --sysroot
option might work?

-Eli

-Eli




More information about the cfe-dev mailing list