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
[email protected]
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to