[cfe-dev] get clang to use gcc headers instead of Visual Studio headers

Douglas Gregor dgregor at apple.com
Tue May 25 22:13:28 PDT 2010


On May 25, 2010, at 10:09 PM, Nathan Ridge wrote:

> 
>>>>> 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.
> 
> So you cannot use it on Windows at all? If so, why has someone taken
> the trouble to put together instructions to build it on Windows
> in the first place?


Making Clang work on Windows is an all-volunteer effort. Some things work, and some things don't, and I'm sure those who have been working on Clang for Windows would appreciate help.

	- Doug



More information about the cfe-dev mailing list