2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-21 17:12:22 +00:00

Suppress warnings for intel 8

[SVN r24082]
This commit is contained in:
Dave Abrahams
2004-07-26 15:13:05 +00:00
parent 8338b2fb49
commit 597342bf15

View File

@@ -51,14 +51,14 @@ std::string const& extract_string_cref(object x)
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1300
# pragma warning(push)
# pragma warning(disable:4172) // msvc lies about returning a reference to temporary
#elif defined(_MSC_VER) && defined(__ICL) && __ICL <= 700
#elif defined(_MSC_VER) && defined(__ICL) && __ICL <= 800
# pragma warning(push)
# pragma warning(disable:473) // intel/win32 does too
#endif
return extract<std::string const&>(x);
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1300 || defined(_MSC_VER) && defined(__ICL) && __ICL <= 700
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1300 || defined(_MSC_VER) && defined(__ICL) && __ICL <= 800
# pragma warning(pop)
#endif
}