Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85276 - trunk/boost/config/compiler
From: dnljms_at_[hidden]
Date: 2013-08-10 08:43:26


Author: danieljames
Date: 2013-08-10 08:43:26 EDT (Sat, 10 Aug 2013)
New Revision: 85276
URL: http://svn.boost.org/trac/boost/changeset/85276

Log:
Restore `BOOST_COMPILER_VERSION` for old Visual C++.

They don't hurt, and might be useful to someone.

Text files modified:
   trunk/boost/config/compiler/visualc.hpp | 9 ++++++++-
   1 files changed, 8 insertions(+), 1 deletions(-)

Modified: trunk/boost/config/compiler/visualc.hpp
==============================================================================
--- trunk/boost/config/compiler/visualc.hpp Sat Aug 10 08:43:07 2013 (r85275)
+++ trunk/boost/config/compiler/visualc.hpp 2013-08-10 08:43:26 EDT (Sat, 10 Aug 2013) (r85276)
@@ -237,7 +237,14 @@
 # endif
 # endif
 # else
-# if _MSC_VER < 1400
+# if _MSC_VER < 1310
+ // Note: Versions up to 7.0 aren't supported.
+# define BOOST_COMPILER_VERSION 5.0
+# elif _MSC_VER < 1300
+# define BOOST_COMPILER_VERSION 6.0
+# elif _MSC_VER < 1310
+# define BOOST_COMPILER_VERSION 7.0
+# elif _MSC_VER < 1400
 # define BOOST_COMPILER_VERSION 7.1
 # elif _MSC_VER < 1500
 # define BOOST_COMPILER_VERSION 8.0


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