Ticket #3565: boost-mpl-compilation-fix.patch

File boost-mpl-compilation-fix.patch, 956 bytes (added by Denis Arnaud <denis.arnaud_boost@…>, 13 years ago)
  • boost/mpi/detail/mpi_datatype_oarchive.hpp

    old new  
    6161    {
    6262      // select the right sized integer for the enum
    6363      typedef typename boost::uint_t<8*sizeof(T)>::least int_type;
    64       BOOST_MPL_ASSERT((sizeof(T)==sizeof(int_type)));
     64      BOOST_MPL_ASSERT_RELATION( sizeof(T), ==, sizeof(int_type) );
    6565      this->save(*reinterpret_cast<int_type const*>(&t));
    6666    }
    6767
  • boost/graph/distributed/detail/mpi_process_group.ipp

    old new  
    1919#endif
    2020
    2121#include <cassert>
     22#include <cstdio>
    2223#include <algorithm>
    2324#include <boost/graph/parallel/detail/untracked_pair.hpp>
    2425#include <numeric>