diff --git a/include/boost/python/converter/rvalue_from_python_data.hpp b/include/boost/python/converter/rvalue_from_python_data.hpp index 90d5009c..8b0c6091 100644 --- a/include/boost/python/converter/rvalue_from_python_data.hpp +++ b/include/boost/python/converter/rvalue_from_python_data.hpp @@ -89,8 +89,10 @@ struct rvalue_from_python_storage template struct rvalue_from_python_data : rvalue_from_python_storage { +# if !defined(__MWERKS__) || __MWERKS__ >= 0x3000 // This must always be a POD struct with m_data its first member. BOOST_STATIC_ASSERT(offsetof(rvalue_from_python_storage,stage1) == 0); +# endif // The usual constructor rvalue_from_python_data(rvalue_from_python_stage1_data const&);