Ir para conteúdo

Featured Replies

Postado

galera na hora que vou compilar a sourc da esse error, quem puder me ajuda ai agradeço.

estou usando debian

 

In file included from /usr/include/boost/function/function_base.hpp:29:0,
                 from /usr/include/boost/function/detail/prologue.hpp:17,
                 from /usr/include/boost/function.hpp:24,
                 from otpch.h:35,
                 from protocolgame.cpp:17:
/usr/include/boost/ref.hpp:182:29: note: template<class T> T* boost::get_pointer(const boost::reference_wrapper<T>&)
/usr/include/boost/ref.hpp:182:29: note:   template argument deduction/substitution failed:
In file included from /usr/include/boost/bind/mem_fn.hpp:215:0,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/function/detail/prologue.hpp:18,
                 from /usr/include/boost/function.hpp:24,
                 from otpch.h:35,
                 from protocolgame.cpp:17:
/usr/include/boost/bind/mem_fn_template.hpp:723:73: note:   ‘std::shared_ptr<ProtocolGame>’ is not derived from ‘const boost::reference_wrapper<T>’
In file included from /usr/include/boost/bind/mem_fn.hpp:25:0,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/function/detail/prologue.hpp:18,
                 from /usr/include/boost/function.hpp:24,
                 from otpch.h:35,
                 from protocolgame.cpp:17:
/usr/include/boost/get_pointer.hpp:18:23: note: template<class T> T* boost::get_pointer(T*)
/usr/include/boost/get_pointer.hpp:18:23: note:   template argument deduction/substitution failed:
In file included from /usr/include/boost/bind/mem_fn.hpp:215:0,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/function/detail/prologue.hpp:18,
                 from /usr/include/boost/function.hpp:24,
                 from otpch.h:35,
                 from protocolgame.cpp:17:
/usr/include/boost/bind/mem_fn_template.hpp:723:73: note:   mismatched types ‘T*’ and ‘std::shared_ptr<ProtocolGame>’
In file included from /usr/include/boost/bind/mem_fn.hpp:25:0,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/function/detail/prologue.hpp:18,
                 from /usr/include/boost/function.hpp:24,
                 from otpch.h:35,
                 from protocolgame.cpp:17:
/usr/include/boost/get_pointer.hpp:25:23: note: template<class T> T* boost::get_pointer(const std::auto_ptr<T>&)
/usr/include/boost/get_pointer.hpp:25:23: note:   template argument deduction/substitution failed:
In file included from /usr/include/boost/bind/mem_fn.hpp:215:0,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/function/detail/prologue.hpp:18,
                 from /usr/include/boost/function.hpp:24,
                 from otpch.h:35,
                 from protocolgame.cpp:17:
/usr/include/boost/bind/mem_fn_template.hpp:723:73: note:   ‘std::shared_ptr<ProtocolGame>’ is not derived from ‘const std::auto_ptr<T>’
make: *** [obj/protocolgame.o] Error 1
 

Editado por gcmcorrea (veja o histórico de edições)

  • 9 months later...
  • 2 weeks later...

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo