[cfe-commits] [PATCH] Add _M_IX86 for Windows

Anton Korobeynikov anton at korobeynikov.info
Wed Aug 19 01:53:16 PDT 2009


Hello, John

> At some point, I do believe it would be nice to be able to do code
> analysis on Windows programs, so I hope in the not too distant future
> that Clang can compile the Windows headers.  But I realize that aside
> from just passing in macros, there's probably more that would need to
> be done, such as dealing with all the pragmas and other
> VC++-specifics.
Right. Could you please prepare a patch providing two "targets"? One -
generic windows 32 bit target without any compiler-specific defines,
etc. And one (derived from the generic one) which will add defines,
switch to ms-emulation mode, etc ?

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the cfe-commits mailing list