Added support for VC9.

[SVN r40894]
This commit is contained in:
John Maddock
2007-11-07 17:17:39 +00:00
parent 3c76ba7f5c
commit 66b6cae557
2 changed files with 12 additions and 2 deletions

View File

@ -130,11 +130,16 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
// vc71: // vc71:
# define BOOST_LIB_TOOLSET "vc71" # define BOOST_LIB_TOOLSET "vc71"
#elif defined(BOOST_MSVC) && (BOOST_MSVC >= 1400) #elif defined(BOOST_MSVC) && (BOOST_MSVC == 1400)
// vc80: // vc80:
# define BOOST_LIB_TOOLSET "vc80" # define BOOST_LIB_TOOLSET "vc80"
#elif defined(BOOST_MSVC) && (BOOST_MSVC >= 1500)
// vc90:
# define BOOST_LIB_TOOLSET "vc90"
#elif defined(__BORLANDC__) #elif defined(__BORLANDC__)
// CBuilder 6: // CBuilder 6:

View File

@ -72,6 +72,9 @@
#if _MSC_VER <= 1400 // 1400 == VC++ 8.0 #if _MSC_VER <= 1400 // 1400 == VC++ 8.0
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
#endif
#if _MSC_VER <= 1500 // 1500 == VC++ 9.0
# define BOOST_NO_TWO_PHASE_NAME_LOOKUP # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
#endif #endif
@ -156,6 +159,8 @@
# define BOOST_COMPILER_VERSION 7.1 # define BOOST_COMPILER_VERSION 7.1
# elif _MSC_VER == 1400 # elif _MSC_VER == 1400
# define BOOST_COMPILER_VERSION 8.0 # define BOOST_COMPILER_VERSION 8.0
# elif _MSC_VER == 1500
# define BOOST_COMPILER_VERSION 9.0
# else # else
# define BOOST_COMPILER_VERSION _MSC_VER # define BOOST_COMPILER_VERSION _MSC_VER
# endif # endif
@ -171,7 +176,7 @@
#endif #endif
// //
// last known and checked version is 1400 (VC8): // last known and checked version is 1400 (VC8):
#if (_MSC_VER > 1400) #if (_MSC_VER > 1500)
# if defined(BOOST_ASSERT_CONFIG) # if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results" # error "Unknown compiler version - please run the configure tests and report the results"
# else # else