[cfe-dev] Extra #defines for Windows SDK 6.0a/VS2008

Douglas Gregor dgregor at apple.com
Fri Aug 6 07:57:45 PDT 2010


On Aug 6, 2010, at 4:55 PM, Dallman, John wrote:

>> Which version of Visual C++ do we emulate? I'm guessing Visual Studio
>> 2008 (_MSC_VER = 1500), since VS2010 has C++0x features that we don't
>> support.
> 
> "That aren't supported as yet". The really thorough way of doing this
> would 
> be to have an option for which Visual C++ to emulate. There's plenty of 
> stuff in MS headers that distinguishes between different versions, and 
> being capable of emulating more than one, while a counsel of perfection,
> would make things easier for end-users. 

Yes. I'd be open to reviewing/committing patches leading us in this direction, e.g.,

	-fmicrosoft=9.0

to try to emulate VC++ 9.0. However, someone else will have to take the lead on Microsoft compatibility.

	- Doug



More information about the cfe-dev mailing list