Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-11-07 12:17:39


Author: johnmaddock
Date: 2007-11-07 12:17:39 EST (Wed, 07 Nov 2007)
New Revision: 40894
URL: http://svn.boost.org/trac/boost/changeset/40894

Log:
Added support for VC9.
Text files modified:
   trunk/boost/config/auto_link.hpp | 7 ++++++-
   trunk/boost/config/compiler/visualc.hpp | 7 ++++++-
   2 files changed, 12 insertions(+), 2 deletions(-)

Modified: trunk/boost/config/auto_link.hpp
==============================================================================
--- trunk/boost/config/auto_link.hpp (original)
+++ trunk/boost/config/auto_link.hpp 2007-11-07 12:17:39 EST (Wed, 07 Nov 2007)
@@ -130,11 +130,16 @@
    // vc71:
 # define BOOST_LIB_TOOLSET "vc71"
 
-#elif defined(BOOST_MSVC) && (BOOST_MSVC >= 1400)
+#elif defined(BOOST_MSVC) && (BOOST_MSVC == 1400)
 
    // vc80:
 # define BOOST_LIB_TOOLSET "vc80"
 
+#elif defined(BOOST_MSVC) && (BOOST_MSVC >= 1500)
+
+ // vc90:
+# define BOOST_LIB_TOOLSET "vc90"
+
 #elif defined(__BORLANDC__)
 
    // CBuilder 6:

Modified: trunk/boost/config/compiler/visualc.hpp
==============================================================================
--- trunk/boost/config/compiler/visualc.hpp (original)
+++ trunk/boost/config/compiler/visualc.hpp 2007-11-07 12:17:39 EST (Wed, 07 Nov 2007)
@@ -72,6 +72,9 @@
 
 #if _MSC_VER <= 1400 // 1400 == VC++ 8.0
 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
+#endif
+
+#if _MSC_VER <= 1500 // 1500 == VC++ 9.0
 # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
 #endif
 
@@ -156,6 +159,8 @@
 # define BOOST_COMPILER_VERSION 7.1
 # elif _MSC_VER == 1400
 # define BOOST_COMPILER_VERSION 8.0
+# elif _MSC_VER == 1500
+# define BOOST_COMPILER_VERSION 9.0
 # else
 # define BOOST_COMPILER_VERSION _MSC_VER
 # endif
@@ -171,7 +176,7 @@
 #endif
 //
 // last known and checked version is 1400 (VC8):
-#if (_MSC_VER > 1400)
+#if (_MSC_VER > 1500)
 # if defined(BOOST_ASSERT_CONFIG)
 # error "Unknown compiler version - please run the configure tests and report the results"
 # else


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk