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

John Thompson john.thompson.jtsoftware at gmail.com
Tue Aug 18 17:15:34 PDT 2009


Okay.  I just saw that WinNT.h required one of Visual Studio's
architecture defines, or else an "#error Must define a target
architecture." directive is hit.  For now, I'll assume that emulating
VC++ is not an immediate goal.

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.

But actually, this was a digression from my main goal of getting the
tests to run using a VC++-built Clang, which can be done without this.
 I hope you agree that this is an important and worthwhile goal for
now.

I also hope I can get to the point where I can make more useful
contributions, as I fear I might be out of my depth.  I'll try to
figure out some of the other test failures.

-John

-- 
John Thompson
John.Thompson.JTSoftware at gmail.com



More information about the cfe-commits mailing list