Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86029 - trunk/boost/python/detail
From: steveire_at_[hidden]
Date: 2013-09-29 20:19:24


Author: skelly
Date: 2013-09-29 20:19:23 EDT (Sun, 29 Sep 2013)
New Revision: 86029
URL: http://svn.boost.org/trac/boost/changeset/86029

Log:
Python: Remove obsolete MSVC version check.

Text files modified:
   trunk/boost/python/detail/msvc_typeinfo.hpp | 10 +++++++---
   1 files changed, 7 insertions(+), 3 deletions(-)

Modified: trunk/boost/python/detail/msvc_typeinfo.hpp
==============================================================================
--- trunk/boost/python/detail/msvc_typeinfo.hpp Sun Sep 29 20:19:09 2013 (r86028)
+++ trunk/boost/python/detail/msvc_typeinfo.hpp 2013-09-29 20:19:23 EDT (Sun, 29 Sep 2013) (r86029)
@@ -10,12 +10,16 @@
 #include <boost/type_traits/config.hpp>
 
 //
-// Fix for MSVC's broken typeid() implementation which doesn't strip
+// Fix for icc's broken typeid() implementation which doesn't strip
 // decoration. This fix doesn't handle cv-qualified array types. It
 // could probably be done, but I haven't figured it out yet.
 //
 
-# if defined(BOOST_MSVC) && BOOST_MSVC <= 1300 || defined(BOOST_INTEL_CXX_VERSION) && BOOST_INTEL_CXX_VERSION <= 700
+// Note: This file is badly named. It initially was MSVC specific, but was
+// extended to cover intel too. Now the old version of MSVC is no longer
+// supported, but the intel version is still supported.
+
+# if defined(BOOST_INTEL_CXX_VERSION) && BOOST_INTEL_CXX_VERSION <= 700
 
 namespace boost { namespace python { namespace detail {
 
@@ -71,5 +75,5 @@
 
 }}} // namespace boost::python::detail
 
-# endif // BOOST_MSVC
+# endif // BOOST_INTEL_CXX_VERSION
 #endif // MSVC_TYPEINFO_DWA200222_HPP


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