Ticket #2560: bf.cxx.log

File bf.cxx.log, 2.8 KB (added by Václav Haisman <v.haisman@…>, 14 years ago)

compiler output

Line 
1bf.cxx: In function 'bool cmp(func_type)':
2bf.cxx:9: error: ambiguous overload for 'operator==' in 'f == boost::function<void ()(int), std::allocator<void> >()'
3bf.cxx:9: note: candidates are: operator==(void (boost::function1<void, int, std::allocator<void> >::dummy::*)(), void (boost::function1<void, int, std::allocator<void> >::dummy::*)()) <built-in>
4/usr/local/include/boost/function/function_template.hpp:706: note: void boost::operator==(const boost::function1<R, T0, Allocator>&, const boost::function1<R, T0, Allocator>&) [with R = void, T0 = int, Allocator = std::allocator<void>]
5/usr/local/include/boost/function/function_base.hpp:647: note: typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<T>::value>::value, bool>::type boost::operator==(Functor, const boost::function_base&) [with Functor = boost::function<void ()(int), std::allocator<void> >]
6/usr/local/include/boost/function/function_base.hpp:638: note: typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<T>::value>::value, bool>::type boost::operator==(const boost::function_base&, Functor) [with Functor = boost::function<void ()(int), std::allocator<void> >]
7/usr/local/include/boost/function_equal.hpp: In function 'bool boost::function_equal_impl(const F&, const G&, long int) [with F = boost::function<void ()(int), std::allocator<void> >, G = boost::function<void ()(int), std::allocator<void> >]':
8/usr/local/include/boost/function_equal.hpp:24: instantiated from 'bool boost::function_equal(const F&, const G&) [with F = func_type, G = func_type]'
9bf.cxx:16: instantiated from here
10/usr/local/include/boost/function_equal.hpp:17: error: ambiguous overload for 'operator==' in 'f == g'
11/usr/local/include/boost/function_equal.hpp:17: note: candidates are: operator==(void (boost::function1<void, int, std::allocator<void> >::dummy::*)(), void (boost::function1<void, int, std::allocator<void> >::dummy::*)()) <built-in>
12/usr/local/include/boost/function/function_base.hpp:638: note: typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<T>::value>::value, bool>::type boost::operator==(const boost::function_base&, Functor) [with Functor = boost::function<void ()(int), std::allocator<void> >]
13/usr/local/include/boost/function/function_base.hpp:647: note: typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<T>::value>::value, bool>::type boost::operator==(Functor, const boost::function_base&) [with Functor = boost::function<void ()(int), std::allocator<void> >]
14/usr/local/include/boost/function/function_template.hpp:706: note: void boost::operator==(const boost::function1<R, T0, Allocator>&, const boost::function1<R, T0, Allocator>&) [with R = void, T0 = int, Allocator = std::allocator<void>]