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

Suppress a GCC 2.x ICE

[SVN r19235]
This commit is contained in:
Dave Abrahams
2003-07-21 02:12:04 +00:00
parent b13c902fb0
commit 25bfd3c50f

View File

@@ -101,6 +101,11 @@ namespace detail
template <class T>
inline PyObject* registry_to_python_value<T>::operator()(argument_type x) const
{
typedef converter::registered<argument_type> r;
# if BOOST_WORKAROUND(__GNUC__, < 3)
// suppresses an ICE, somehow
(void)r::converters;
# endif
return converter::registered<argument_type>::converters.to_python(&x);
}