2011-12-22, 11:15
Code:
/usr/include/boost/utility/swap.hpp: In function ‘void boost_swap_impl::swap_impl(T&, T&) [with T = boost::unordered::detail::ptr_bucket*]’:
/usr/include/boost/utility/swap.hpp:51:5: instantiated from ‘void boost::swap(T1&, T2&) [with T1 = boost::unordered::detail::ptr_bucket*, T2 = boost::unordered::detail::ptr_bucket*]’
/usr/include/boost/unordered/detail/buckets.hpp:366:13: instantiated from ‘void boost::unordered::detail::buckets<A, Bucket, Node>::swap(boost::unordered::detail::buckets<A, Bucket, Node>&, boost::unordered::detail::false_type) [with A = std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, Bucket = boost::unordered::detail::ptr_bucket, Node = boost::unordered::detail::ptr_node<std::pair<const CStdStr<char>, std::vector<int> > >, boost::unordered::detail::buckets<A, Bucket, Node> = boost::unordered::detail::buckets<std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, boost::unordered::detail::ptr_bucket, boost::unordered::detail::ptr_node<std::pair<const CStdStr<char>, std::vector<int> > > >, boost::unordered::detail::false_type = boost::unordered::detail::integral_constant<bool, false>]’
/usr/include/boost/unordered/detail/table.hpp:523:21: instantiated from ‘void boost::unordered::detail::table<Types>::move_assign(boost::unordered::detail::table<Types>&, boost::unordered::detail::false_type) [with Types = boost::unordered::detail::map<std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, CStdStr<char>, boost::hash<CStdStr<char> >, std::equal_to<CStdStr<char> > >, boost::unordered::detail::table<Types> = boost::unordered::detail::table<boost::unordered::detail::map<std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, CStdStr<char>, boost::hash<CStdStr<char> >, std::equal_to<CStdStr<char> > > >, boost::unordered::detail::false_type = boost::unordered::detail::integral_constant<bool, false>]’
/usr/include/boost/unordered/detail/table.hpp:495:13: instantiated from ‘void boost::unordered::detail::table<Types>::move_assign(boost::unordered::detail::table<Types>&) [with Types = boost::unordered::detail::map<std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, CStdStr<char>, boost::hash<CStdStr<char> >, std::equal_to<CStdStr<char> > >, boost::unordered::detail::table<Types> = boost::unordered::detail::table<boost::unordered::detail::map<std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, CStdStr<char>, boost::hash<CStdStr<char> >, std::equal_to<CStdStr<char> > > >]’
/usr/include/boost/unordered/unordered_map.hpp:156:13: instantiated from ‘boost::unordered::unordered_map<K, T, H, P, A>& boost::unordered::unordered_map<K, T, H, P, A>::operator=(boost::rv<boost::unordered::unordered_map<K, T, H, P, A> >&) [with K = CStdStr<char>, T = std::vector<int>, H = boost::hash<CStdStr<char> >, P = std::equal_to<CStdStr<char> >, A = std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, boost::unordered::unordered_map<K, T, H, P, A> = boost::unordered::unordered_map<CStdStr<char>, std::vector<int> >]’
pvrclient-mythtv.cpp:273:41: instantiated from here
/usr/include/boost/utility/swap.hpp:33:5: error: call of overloaded ‘swap(boost::unordered::detail::ptr_bucket*&, boost::unordered::detail::ptr_bucket*&)’ is ambiguous
/usr/include/boost/utility/swap.hpp:33:5: note: candidates are:
/home/mcu/src/xbmc-tsp-git/src/xbmc/lib/libPlatform/linux/os_posix.h:48:31: note: void swap(T&, T&) [with T = boost::unordered::detail::ptr_bucket*]
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = boost::unordered::detail::ptr_bucket*]
/usr/include/boost/utility/swap.hpp: In function ‘void boost_swap_impl::swap_impl(T&, T&) [with T = long unsigned int]’:
/usr/include/boost/utility/swap.hpp:51:5: instantiated from ‘void boost::swap(T1&, T2&) [with T1 = long unsigned int, T2 = long unsigned int]’
/usr/include/boost/unordered/detail/buckets.hpp:367:13: instantiated from ‘void boost::unordered::detail::buckets<A, Bucket, Node>::swap(boost::unordered::detail::buckets<A, Bucket, Node>&, boost::unordered::detail::false_type) [with A = std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, Bucket = boost::unordered::detail::ptr_bucket, Node = boost::unordered::detail::ptr_node<std::pair<const CStdStr<char>, std::vector<int> > >, boost::unordered::detail::buckets<A, Bucket, Node> = boost::unordered::detail::buckets<std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, boost::unordered::detail::ptr_bucket, boost::unordered::detail::ptr_node<std::pair<const CStdStr<char>, std::vector<int> > > >, boost::unordered::detail::false_type = boost::unordered::detail::integral_constant<bool, false>]’
/usr/include/boost/unordered/detail/table.hpp:523:21: instantiated from ‘void boost::unordered::detail::table<Types>::move_assign(boost::unordered::detail::table<Types>&, boost::unordered::detail::false_type) [with Types = boost::unordered::detail::map<std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, CStdStr<char>, boost::hash<CStdStr<char> >, std::equal_to<CStdStr<char> > >, boost::unordered::detail::table<Types> = boost::unordered::detail::table<boost::unordered::detail::map<std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, CStdStr<char>, boost::hash<CStdStr<char> >, std::equal_to<CStdStr<char> > > >, boost::unordered::detail::false_type = boost::unordered::detail::integral_constant<bool, false>]’
/usr/include/boost/unordered/detail/table.hpp:495:13: instantiated from ‘void boost::unordered::detail::table<Types>::move_assign(boost::unordered::detail::table<Types>&) [with Types = boost::unordered::detail::map<std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, CStdStr<char>, boost::hash<CStdStr<char> >, std::equal_to<CStdStr<char> > >, boost::unordered::detail::table<Types> = boost::unordered::detail::table<boost::unordered::detail::map<std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, CStdStr<char>, boost::hash<CStdStr<char> >, std::equal_to<CStdStr<char> > > >]’
/usr/include/boost/unordered/unordered_map.hpp:156:13: instantiated from ‘boost::unordered::unordered_map<K, T, H, P, A>& boost::unordered::unordered_map<K, T, H, P, A>::operator=(boost::rv<boost::unordered::unordered_map<K, T, H, P, A> >&) [with K = CStdStr<char>, T = std::vector<int>, H = boost::hash<CStdStr<char> >, P = std::equal_to<CStdStr<char> >, A = std::allocator<std::pair<const CStdStr<char>, std::vector<int> > >, boost::unordered::unordered_map<K, T, H, P, A> = boost::unordered::unordered_map<CStdStr<char>, std::vector<int> >]’
pvrclient-mythtv.cpp:273:41: instantiated from here
/usr/include/boost/utility/swap.hpp:33:5: error: call of overloaded ‘swap(long unsigned int&, long unsigned int&)’ is ambiguous
/usr/include/boost/utility/swap.hpp:33:5: note: candidates are:
/home/mcu/src/xbmc-tsp-git/src/xbmc/lib/libPlatform/linux/os_posix.h:48:31: note: void swap(T&, T&) [with T = long unsigned int]
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = long unsigned int]
make[1]: *** [pvrclient-mythtv.o] Error 1
make[1]: *** Waiting for unfinished jobs....
[ 80%] Building CXX object CMakeFiles/projectM.dir/ConfigFile.cpp.o
make[1]: Leaving directory `/home/mcu/src/xbmc-tsp-git/src/xbmc/xbmc/pvrclients/mythtv-cmyth'
make: *** [pvrclients] Error 2
make: *** Waiting for unfinished jobs....
The build is breaking on x86_64 Arch with boost 1.48.0. Any idea's?