All pastes #885376 Raw Edit

Anonymous

public text v1 · immutable
#885376 ·published 2008-01-30 21:56 UTC
rendered paste body
arallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator<boost::function_base>]’:
/usr/include/boost/function/function_template.hpp:284:   instantiated from ‘bool boost::detail::function::basic_vtable0<R, Allocator>::assign_to(F, boost::detail::function::function_buffer&) [with F = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator<boost::function_base>]’
/usr/include/boost/function/function_template.hpp:656:   instantiated from ‘void boost::function0<R, Allocator>::assign_to(Functor) [with Functor = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator<boost::function_base>]’
/usr/include/boost/function/function_template.hpp:513:   instantiated from ‘boost::function0<R, Allocator>::function0(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator<boost::function_base>]’
/home/bunker/code/oklib/OKsystem/Transitional/Programming/Parallelism/tests/ExperimentalThreads.hpp:126:   instantiated from here
/usr/include/boost/function/function_template.hpp:324: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object
/usr/include/boost/function/function_template.hpp: In static member function ‘static void boost::detail::function::void_function_invoker0<FunctionPtr, R>::invoke(boost::detail::function::function_buffer&) [with FunctionPtr = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void]’:
/usr/include/boost/function/function_template.hpp:312:   instantiated from ‘void boost::detail::function::basic_vtable0<R, Allocator>::init(FunctionPtr, boost::detail::function::function_ptr_tag) [with FunctionPtr = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator<boost::function_base>]’
/usr/include/boost/function/function_template.hpp:298:   instantiated from ‘void boost::detail::function::basic_vtable0<R, Allocator>::init(F) [with F = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator<boost::function_base>]’
/usr/include/boost/function/function_template.hpp:277:   instantiated from ‘boost::detail::function::basic_vtable0<R, Allocator>::basic_vtable0(F) [with F = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator<boost::function_base>]’
/usr/include/boost/function/function_template.hpp:655:   instantiated from ‘void boost::function0<R, Allocator>::assign_to(Functor) [with Functor = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator<boost::function_base>]’
/usr/include/boost/function/function_template.hpp:513:   instantiated from ‘boost::function0<R, Allocator>::function0(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator<boost::function_base>]’
/home/bunker/code/oklib/OKsystem/Transitional/Programming/Parallelism/tests/ExperimentalThreads.hpp:126:   instantiated from here
/usr/include/boost/function/function_template.hpp:113: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object
/usr/include/boost/function/function_template.hpp:114: error: ‘f’ cannot be used as a function