Index: boost/interprocess/mem_algo/rbtree_best_fit.hpp =================================================================== --- boost/interprocess/mem_algo/rbtree_best_fit.hpp (revision 46407) +++ boost/interprocess/mem_algo/rbtree_best_fit.hpp (working copy) @@ -930,7 +930,7 @@ received_size = 0; if(limit_size > preferred_size) - return return_type(0, false); + return return_type((void*) 0, false); //Number of units to request (including block_ctrl header) std::size_t preferred_units = priv_get_total_units(preferred_size); @@ -969,7 +969,7 @@ (command, limit_size, preferred_size, received_size, reuse_ptr, false, backwards_multiple), true); } - return return_type(0, false); + return return_type((void*) 0, false); } template Index: boost/interprocess/detail/move.hpp =================================================================== --- boost/interprocess/detail/move.hpp (revision 46407) +++ boost/interprocess/detail/move.hpp (working copy) @@ -122,6 +122,7 @@ #else //#ifdef BOOST_INTERPROCESS_RVALUE_REFERENCE #include +#include namespace boost { namespace interprocess { @@ -134,7 +135,7 @@ template inline T&& -forward(typename identity::type&& t) +forward(typename detail::identity::type&& t) { return t; } } //namespace interprocess {