I hope for using any predefined macro like _MSC_BUILD (from vs2008) because I want to use revision number of compiler.
but i can't find that in vs2005.
thank you for your help.
I hope for using any predefined macro like _MSC_BUILD (from vs2008) because I want to use revision number of compiler.
but i can't find that in vs2005.
thank you for your help.
The predefined macros list for VS 2005 shows _MSC_VER
for getting the compiler versions.
There were no (accessible) revision numbers in the days of VS2005, so sadly, no there isn't. See the following web site for a full list of available macros:
http://msdn.microsoft.com/en-us/library/b0084kay(VS.80).aspx