Index: boost/mpi/detail/mpi_datatype_oarchive.hpp =================================================================== --- boost/mpi/detail/mpi_datatype_oarchive.hpp +++ boost/mpi/detail/mpi_datatype_oarchive.hpp.new @@ -19,4 +19,5 @@ #include #include +#include #include #include @@ -62,5 +63,5 @@ // select the right sized integer for the enum typedef typename boost::uint_t<8*sizeof(T)>::least int_type; - BOOST_MPL_ASSERT((sizeof(T)==sizeof(int_type))); + BOOST_STATIC_ASSERT((sizeof(T)==sizeof(int_type))); this->save(*reinterpret_cast(&t)); }