[cfe-dev] Toolset for clang in Windows under Boost

Sebastian Redl sebastian.redl at getdesigned.at
Wed Sep 22 16:49:01 PDT 2010


On Sep 22, 2010, at 3:46 PM, Edward Diener wrote:

> 
> It sounds like you are saying that when clang is built with VS it 
> automatically uses the msvc header files awhen it is used to compile 
> source files but if it is built with MingW it automatically uses the 
> MingW header files when it is used to compile source files. Can that 
> really be so ? I would have assumed that however it is built it would 
> use its own header files and standard library.
> 

Clang does not have its own headers or standard library. It's only a compiler. The only headers it has are some very compiler-specific things like stdint.h and *mmintrin.h.


> As far as the Windows SDK header files I would guess that some Boost 
> libraries do use them, but I do not know why they would not be able to 
> be used by clang.

Because the Windows SDK contains a lot of code that depends on Microsoft's language extensions.

Sebastian



More information about the cfe-dev mailing list