[cfe-dev] get clang to use gcc headers instead of Visual Studio headers
Eli Friedman
eli.friedman at gmail.com
Tue May 25 20:07:07 PDT 2010
On Tue, May 25, 2010 at 7:50 PM, Nathan Ridge <zeratul976 at hotmail.com> wrote:
>
> Hi Doug,
>
>>> That worked, but now when I try to compile a test file that simply
>>> includes , I get the following errors:
>>>
>>> [snip]
>>
>> Probably nothing. It's likely that there is a configuration issue with
>> Clang on mingw, since very, very few people have tried to make this
>> configuration work.
>
> All right, so I tried compiling a test file that includes < string>
> using the default Visual Studio headers. I'm assuming that
> clang and Visual Studio headers *is* a common configuration (if not,
> then what is?), so what am I doing wrong this time?
There are no common configurations of clang on Windows; the primary
developers use OS X, and most of the rest use either Linux or FreeBSD.
You're not doing anything wrong; the issue is just that nobody has
done the work to make the MSVC C++ headers work with clang.
-Eli
More information about the cfe-dev
mailing list