id summary reporter owner description type status milestone component version severity resolution keywords cc 648 Compiling Shmem nobody Ion Gaztañaga "{{{ Hi, I'm trying to use Shmem for a project but it does not compile. Has anybody got these errors or know how to solve them? Thanks in advance. P.D.: Linux FC5 out of the box config. You can reach me at bblasi at jblasi dot c o m by email. cc ../../test/flat_tree_test.cpp -Wall -g -pthread - lstdc++ -lrt -lboost_thread -I../../../.. -L/usr/lib - o ../../bin/linux/test_flat_tree_test.out ../../../../boost/shmem/detail/utilities.hpp: In function âvoid boost::shmem::detail::swap(T&, T&) [with T = boost::shmem::detail::flat_tree, std::less, std::allocator >::value_compare]â: ../../../../boost/shmem/containers/flat_tree.hpp:228: instantiated from âvoid boost::shmem::detail::flat_tree::swap (boost::shmem::detail::flat_tree&) [with Key = int, Value = int, KeyOfValue = boost::shmem::detail::identity, Compare = std::less, Alloc = std::allocator]â ../../../../boost/shmem/containers/flat_set.hpp:164: instantiated from âvoid boost::shmem::flat_set::swap(boost::shmem::flat_set&) [with T = int, Pred = std::less, Alloc = std::allocator]â ../../test/flat_tree_test.cpp:34: instantiated from here ../../../../boost/shmem/detail/utilities.hpp:45: error: call of overloaded âswap (boost::shmem::detail::flat_tree, std::less, std::allocator >::value_compare&, boost::shmem::detail::flat_tree, std::less, std::allocator >::value_compare&)â is ambiguous /usr/lib/gcc/i386-redhat- linux/4.1.0/../../../../include/c++/4.1.0/bits/stl_algo base.h:92: note: candidates are: void std::swap(_Tp&, _Tp&) [with _Tp = boost::shmem::detail::flat_tree, std::less, std::allocator >::value_compare] ../../../../boost/shmem/detail/utilities.hpp:42: note: void boost::shmem::detail::swap (T&, T&) [with T = boost::shmem::detail::flat_tree, std::less, std::allocator >::value_compare] ../../../../boost/shmem/detail/utilities.hpp: In function âvoid boost::shmem::detail::swap(T&, T&) [with T = boost::shmem::detail::flat_tree, boost::shmem::detail::select1st >, std::less, std::allocator > >::value_compare]â: ../../../../boost/shmem/containers/flat_tree.hpp:228: instantiated from âvoid boost::shmem::detail::flat_tree::swap (boost::shmem::detail::flat_tree&) [with Key = int, Value = std::pair, KeyOfValue = boost::shmem::detail::select1st >, Compare = std::less, Alloc = std::allocator >]â ../../../../boost/shmem/containers/flat_map.hpp:180: instantiated from âvoid boost::shmem::flat_map::swap(boost::shmem::flat_map&) [with Key = int, T = int, Pred = std::less, Alloc = std::allocator >]â ../../test/flat_tree_test.cpp:36: instantiated from here ../../../../boost/shmem/detail/utilities.hpp:45: error: call of overloaded âswap (boost::shmem::detail::flat_tree, boost::shmem::detail::select1st >, std::less, std::allocator > >::value_compare&, boost::shmem::detail::flat_tree, boost::shmem::detail::select1st >, std::less, std::allocator > >::value_compare&)â is ambiguous /usr/lib/gcc/i386-redhat- linux/4.1.0/../../../../include/c++/4.1.0/bits/stl_algo base.h:92: note: candidates are: void std::swap(_Tp&, _Tp&) [with _Tp = boost::shmem::detail::flat_tree, boost::shmem::detail::select1st >, std::less, std::allocator > >::value_compare] ../../../../boost/shmem/detail/utilities.hpp:42: note: void boost::shmem::detail::swap (T&, T&) [with T = boost::shmem::detail::flat_tree, boost::shmem::detail::select1st >, std::less, std::allocator > >::value_compare] make: *** [../../bin/linux/test_flat_tree_test.out] Error 1 }}}" Support Requests closed None None None