Skip to content

Commit 31a8be0

Browse files
committed
Patches for Intel C++ 7.0 beta
[SVN r15520]
1 parent 87d619e commit 31a8be0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

include/boost/python/detail/msvc_typeinfo.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// could probably be done, but I haven't figured it out yet.
1919
//
2020

21-
# if defined(BOOST_MSVC) && BOOST_MSVC <= 1300 || defined(BOOST_INTEL_CXX_VERSION) && BOOST_INTEL_CXX_VERSION <= 600
21+
# if defined(BOOST_MSVC) && BOOST_MSVC <= 1300 || defined(BOOST_INTEL_CXX_VERSION) && BOOST_INTEL_CXX_VERSION <= 700
2222

2323
namespace boost { namespace python { namespace detail {
2424

include/boost/python/type_id.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ template <class T>
5454
inline type_info type_id(boost::type<T>* = 0)
5555
{
5656
return type_info(
57-
# if (!defined(BOOST_MSVC) || BOOST_MSVC > 1300) && (!defined(BOOST_INTEL_CXX_VERSION) || BOOST_INTEL_CXX_VERSION > 600)
57+
# if (!defined(BOOST_MSVC) || BOOST_MSVC > 1300) && (!defined(BOOST_INTEL_CXX_VERSION) || BOOST_INTEL_CXX_VERSION > 700)
5858
typeid(T)
5959
# else // strip the decoration which msvc and Intel mistakenly leave in
6060
python::detail::msvc_typeid<T>()

test/extract.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ std::string const& extract_string_cref(object x)
5151
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1300
5252
# pragma warning(push)
5353
# pragma warning(disable:4172) // msvc lies about returning a reference to temporary
54-
#elif defined(_MSC_VER) && defined(__ICL) && __ICL <= 600
54+
#elif defined(_MSC_VER) && defined(__ICL) && __ICL <= 700
5555
# pragma warning(push)
5656
# pragma warning(disable:473) // intel/win32 does too
5757
#endif
5858

5959
return extract<std::string const&>(x);
6060

61-
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1300 || defined(_MSC_VER) && defined(__ICL) && __ICL <= 600
61+
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1300 || defined(_MSC_VER) && defined(__ICL) && __ICL <= 700
6262
# pragma warning(pop)
6363
#endif
6464
}

0 commit comments

Comments
 (0)