/home/rodolphe/Bureau/Hockey subaquatique/Hockey Subaquatique/windows.cpp||In member function ‘void Window::audio_ecran()’

/home/rodolphe/Bureau/Hockey subaquatique/Hockey Subaquatique/windows.cpp|69|erreur: ISO C++ forbids taking the address of an unqualified or parenthesized non-static member function to form a pointer to member function. Say ‘&Window::audio_ecran’|
/usr/include/boost/function/function_template.hpp||In member function ‘void boost::function0<R, Allocator>::assign_to(const Functor&) [with Functor = void (Window::*)(), R = void, Allocator = std::allocator<boost::function_base>]’

/usr/include/boost/function/function_template.hpp|624|instantiated from ‘boost::function0<R, Allocator>::function0(Functor, typename boost::enable_if_c<boost::type_traits::ice_not::value, int>::type) [with Functor = void (Window::*)(), R = void, Allocator = std::allocator<boost::function_base>]’|
/home/rodolphe/Bureau/Hockey subaquatique/Hockey Subaquatique/windows.cpp|69|instantiated from here|
/usr/include/boost/function/function_template.hpp|781|erreur: no class template named ‘apply’ in ‘struct boost::detail::function::get_invoker0<boost::detail::function::member_ptr_tag>’|
/usr/include/boost/function/function_template.hpp||In member function ‘bool boost::detail::function::basic_vtable0<R, Allocator>::assign_to(const F&, boost::detail::function::function_buffer&) const [with F = void (Window::*)(), R = void, Allocator = std::allocator<boost::function_base>]’

/usr/include/boost/function/function_template.hpp|789|instantiated from ‘void boost::function0<R, Allocator>::assign_to(const Functor&) [with Functor = void (Window::*)(), R = void, Allocator = std::allocator<boost::function_base>]’|
/usr/include/boost/function/function_template.hpp|624|instantiated from ‘boost::function0<R, Allocator>::function0(Functor, typename boost::enable_if_c<boost::type_traits::ice_not::value, int>::type) [with Functor = void (Window::*)(), R = void, Allocator = std::allocator<boost::function_base>]’|
/home/rodolphe/Bureau/Hockey subaquatique/Hockey Subaquatique/windows.cpp|69|instantiated from here|
/usr/include/boost/function/function_template.hpp|437|erreur: no matching function for call to ‘boost::detail::function::basic_vtable0<void, std::allocator<boost::function_base> >::assign_to(void (Window::* const&)(), boost::detail::function::function_buffer&, boost::detail::function::basic_vtable0<R, Allocator>::assign_to(const F&, boost::detail::function::function_buffer&) const [with F = void (Window::*)(), R = void, Allocator = std::allocator<boost::function_base>]::tag) const’|
||=== Build finished: 10 errors, 0 warnings ===|
Partager