[cfe-dev] CLang compiling windows.h from the Windows SDK

Clark Gaebel cg.wowus.cg at gmail.com
Sun Aug 8 18:40:17 PDT 2010


 Shouldn't it just be enabled when the ms-extensions flag is present?
Since IUnknown is used by windows anyways, it's kinda a reserved word. I
don't really think it should be yet another compiler flag.

On 08/08/10 21:21, Sean Hunt wrote:
> On 08/08/2010 06:02 PM, Clark Gaebel wrote:
>>   Yes, but clang still fails without it, meaning it doesn't support
>> Windows out of the box. Is there a way to force the declaration in clang
>> itself?
> We should be able to do so pretty easily. We should also add an option 
> to disable this, just in case someone was using IUnknown for something 
> different.
>
> Does anyone take issue with this?
>
> Sean
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-- 
Regards,
  -- Clark




More information about the cfe-dev mailing list