arallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator]’: /usr/include/boost/function/function_template.hpp:284: instantiated from ‘bool boost::detail::function::basic_vtable0::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]’ /usr/include/boost/function/function_template.hpp:656: instantiated from ‘void boost::function0::assign_to(Functor) [with Functor = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator]’ /usr/include/boost/function/function_template.hpp:513: instantiated from ‘boost::function0::function0(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator]’ /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::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::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]’ /usr/include/boost/function/function_template.hpp:298: instantiated from ‘void boost::detail::function::basic_vtable0::init(F) [with F = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator]’ /usr/include/boost/function/function_template.hpp:277: instantiated from ‘boost::detail::function::basic_vtable0::basic_vtable0(F) [with F = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator]’ /usr/include/boost/function/function_template.hpp:655: instantiated from ‘void boost::function0::assign_to(Functor) [with Functor = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator]’ /usr/include/boost/function/function_template.hpp:513: instantiated from ‘boost::function0::function0(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = const OKlib::Programming::Parallelism::tests::Test_Counter::test(OKlib::TestSystem::Basic)::counter0*, R = void, Allocator = std::allocator]’ /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