2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

vc7 compatibility for BOost.Python v1

Better error messages for Jam when actions are too long


[SVN r13477]
This commit is contained in:
Dave Abrahams
2002-04-13 15:33:00 +00:00
parent fc5e0fb012
commit e4b1377b0e
4 changed files with 17 additions and 10 deletions

View File

@@ -206,7 +206,7 @@ BOOST_PYTHON_DECL bool from_python(PyObject* p, boost::python::type<bool>)
return true;
}
#ifdef BOOST_MSVC6_OR_EARLIER
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1300
// An optimizer bug prevents these from being inlined.
BOOST_PYTHON_DECL PyObject* to_python(double d)
{
@@ -217,7 +217,7 @@ BOOST_PYTHON_DECL PyObject* to_python(float f)
{
return PyFloat_FromDouble(f);
}
#endif // BOOST_MSVC6_OR_EARLIER
#endif
BOOST_PYTHON_END_CONVERSION_NAMESPACE