0x255@SonicTorment:~/dev/adchpp$ scons mode=release scons: Reading SConscript files ... Checking for C header file poll.h... yes Checking for C header file sys/epoll.h... yes Checking for C header file ruby.h... no Checking for dlopen() in C library dl... yes Checking for pthread_create() in C library pthread... yes Checking for SSL_connect() in C library ssl... yes Ruby not found, skipping ruby module Python.h not found, not building python extension No Linux support for PHP extensions yet scons: done reading SConscript files. scons: Building targets ... Compiling build/release-default/adchpp/adchpp.gch (shared precompiled header) Compiling build/release-default/adchpp/AdcCommand.os (shared) Compiling build/release-default/adchpp/Bot.os (shared) Compiling build/release-default/adchpp/Buffer.os (shared) Compiling build/release-default/adchpp/Client.os (shared) Compiling build/release-default/adchpp/ClientManager.os (shared) Compiling build/release-default/adchpp/Core.os (shared) Compiling build/release-default/adchpp/Encoder.os (shared) Compiling build/release-default/adchpp/Entity.os (shared) Compiling build/release-default/adchpp/File.os (shared) Compiling build/release-default/adchpp/Hub.os (shared) Compiling build/release-default/adchpp/LogManager.os (shared) Compiling build/release-default/adchpp/ManagedSocket.os (shared) Compiling build/release-default/adchpp/PluginManager.os (shared) Compiling build/release-default/adchpp/SimpleXML.os (shared) Compiling build/release-default/adchpp/SocketManager.os (shared) In file included from boost/boost/asio/ssl/context_service.hpp:25:0, from boost/boost/asio/ssl/context.hpp:21, from boost/boost/asio/ssl.hpp:19, from adchpp/SocketManager.cpp:30: boost/boost/asio/ssl/detail/openssl_context_service.hpp: In member function ‘void boost::asio::ssl::detail::openssl_context_service::create(SSL_CTX*&, boost::asio::ssl::context_base::method)’: boost/boost/asio/ssl/detail/openssl_context_service.hpp:70:28: error: ‘::SSLv2_method’ has not been declared boost/boost/asio/ssl/detail/openssl_context_service.hpp:73:28: error: ‘::SSLv2_client_method’ has not been declared boost/boost/asio/ssl/detail/openssl_context_service.hpp:76:28: error: ‘::SSLv2_server_method’ has not been declared In file included from boost/boost/function/detail/prologue.hpp:17:0, from boost/boost/function.hpp:24, from boost/boost/asio/ssl/detail/openssl_context_service.hpp:22, from boost/boost/asio/ssl/context_service.hpp:25, from boost/boost/asio/ssl/context.hpp:21, from boost/boost/asio/ssl.hpp:19, from adchpp/SocketManager.cpp:30: boost/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >]’: boost/boost/function/function_base.hpp:360:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >, mpl_::true_ = mpl_::bool_]’ boost/boost/function/function_base.hpp:406:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_base.hpp:434:13: instantiated from ‘static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function2::assign_to(Functor) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = int]’ boost/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function2::function2(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1064:16: instantiated from ‘boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:266:5: instantiated from ‘void boost::asio::ssl::detail::openssl_stream_service::async_handshake(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, boost::asio::ssl::stream_base::handshake_type, Handler) [with Stream = boost::asio::basic_stream_socket, Handler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, boost::asio::ssl::detail::openssl_stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream_service.hpp:104:5: instantiated from ‘void boost::asio::ssl::stream_service::async_handshake(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, boost::asio::ssl::stream_base::handshake_type, HandshakeHandler) [with Stream = boost::asio::basic_stream_socket, HandshakeHandler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, boost::asio::ssl::stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream.hpp:225:5: instantiated from ‘void boost::asio::ssl::stream::async_handshake(boost::asio::ssl::stream_base::handshake_type, HandshakeHandler) [with HandshakeHandler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, Stream = boost::asio::basic_stream_socket, Service = boost::asio::ssl::stream_service]’ adchpp/SocketManager.cpp:147:130: instantiated from here boost/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >]’: boost/boost/function/function_base.hpp:360:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >, mpl_::true_ = mpl_::bool_]’ boost/boost/function/function_base.hpp:406:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_base.hpp:434:13: instantiated from ‘static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function2::assign_to(Functor) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = int]’ boost/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function2::function2(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1064:16: instantiated from ‘boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:321:5: instantiated from ‘void boost::asio::ssl::detail::openssl_stream_service::async_shutdown(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, Handler) [with Stream = boost::asio::basic_stream_socket, Handler = void (*)(const boost::system::error_code&), boost::asio::ssl::detail::openssl_stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream_service.hpp:120:5: instantiated from ‘void boost::asio::ssl::stream_service::async_shutdown(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, ShutdownHandler) [with Stream = boost::asio::basic_stream_socket, ShutdownHandler = void (*)(const boost::system::error_code&), boost::asio::ssl::stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream.hpp:269:5: instantiated from ‘void boost::asio::ssl::stream::async_shutdown(ShutdownHandler) [with ShutdownHandler = void (*)(const boost::system::error_code&), Stream = boost::asio::basic_stream_socket, Service = boost::asio::ssl::stream_service]’ adchpp/SocketManager.cpp:151:39: instantiated from here boost/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >]’: boost/boost/function/function_base.hpp:360:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >, mpl_::true_ = mpl_::bool_]’ boost/boost/function/function_base.hpp:406:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_base.hpp:434:13: instantiated from ‘static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function2::assign_to(Functor) [with Functor = boost::_bi::bind_t, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = unsigned int]’ boost/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function2::function2(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = unsigned int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1064:16: instantiated from ‘boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)> >*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = unsigned int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:118:7: instantiated from ‘boost::asio::ssl::detail::openssl_stream_service::handshake_handler::handshake_handler(Handler, boost::asio::io_service&) [with Stream = boost::asio::basic_stream_socket, Handler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:247:52: instantiated from ‘void boost::asio::ssl::detail::openssl_stream_service::async_handshake(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, boost::asio::ssl::stream_base::handshake_type, Handler) [with Stream = boost::asio::basic_stream_socket, Handler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, boost::asio::ssl::detail::openssl_stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream_service.hpp:104:5: instantiated from ‘void boost::asio::ssl::stream_service::async_handshake(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, boost::asio::ssl::stream_base::handshake_type, HandshakeHandler) [with Stream = boost::asio::basic_stream_socket, HandshakeHandler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, boost::asio::ssl::stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream.hpp:225:5: instantiated from ‘void boost::asio::ssl::stream::async_handshake(boost::asio::ssl::stream_base::handshake_type, HandshakeHandler) [with HandshakeHandler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, Stream = boost::asio::basic_stream_socket, Service = boost::asio::ssl::stream_service]’ adchpp/SocketManager.cpp:147:130: instantiated from here boost/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t, void (*)(const boost::system::error_code&)>, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >]’: boost/boost/function/function_base.hpp:360:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t, void (*)(const boost::system::error_code&)>, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >, mpl_::true_ = mpl_::bool_]’ boost/boost/function/function_base.hpp:406:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t, void (*)(const boost::system::error_code&)>, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_base.hpp:434:13: instantiated from ‘static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t, void (*)(const boost::system::error_code&)>, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function2::assign_to(Functor) [with Functor = boost::_bi::bind_t, void (*)(const boost::system::error_code&)>, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = unsigned int]’ boost/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function2::function2(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t, void (*)(const boost::system::error_code&)>, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = unsigned int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1064:16: instantiated from ‘boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t, void (*)(const boost::system::error_code&)>, const boost::system::error_code&, unsigned int>, boost::_bi::list3, void (*)(const boost::system::error_code&)>*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = unsigned int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:143:7: instantiated from ‘boost::asio::ssl::detail::openssl_stream_service::shutdown_handler::shutdown_handler(Handler, boost::asio::io_service&) [with Stream = boost::asio::basic_stream_socket, Handler = void (*)(const boost::system::error_code&)]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:304:55: instantiated from ‘void boost::asio::ssl::detail::openssl_stream_service::async_shutdown(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, Handler) [with Stream = boost::asio::basic_stream_socket, Handler = void (*)(const boost::system::error_code&), boost::asio::ssl::detail::openssl_stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream_service.hpp:120:5: instantiated from ‘void boost::asio::ssl::stream_service::async_shutdown(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, ShutdownHandler) [with Stream = boost::asio::basic_stream_socket, ShutdownHandler = void (*)(const boost::system::error_code&), boost::asio::ssl::stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream.hpp:269:5: instantiated from ‘void boost::asio::ssl::stream::async_shutdown(ShutdownHandler) [with ShutdownHandler = void (*)(const boost::system::error_code&), Stream = boost::asio::basic_stream_socket, Service = boost::asio::ssl::stream_service]’ adchpp/SocketManager.cpp:151:39: instantiated from here boost/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t >, bool, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >]’: boost/boost/function/function_base.hpp:360:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t >, bool, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, mpl_::true_ = mpl_::bool_]’ boost/boost/function/function_base.hpp:406:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t >, bool, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_base.hpp:434:13: instantiated from ‘static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t >, bool, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function2::assign_to(Functor) [with Functor = boost::_bi::bind_t >, bool, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, R = int, T0 = bool, T1 = int]’ boost/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function2::function2(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t >, bool, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, R = int, T0 = bool, T1 = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1064:16: instantiated from ‘boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t >, bool, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, R = int, T0 = bool, T1 = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1105:5: instantiated from ‘typename boost::enable_if_c::value>::value, boost::function&>::type boost::function::operator=(Functor) [with Functor = boost::_bi::bind_t >, bool, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, R = int, T0 = bool, T1 = int, typename boost::enable_if_c::value>::value, boost::function&>::type = boost::function&]’ boost/boost/asio/ssl/detail/openssl_operation.hpp:103:5: instantiated from ‘boost::asio::ssl::detail::openssl_operation::openssl_operation(boost::asio::ssl::detail::ssl_primitive_func, Stream&, boost::asio::ssl::detail::net_buffer&, SSL*, BIO*, boost::asio::ssl::detail::user_handler_func, boost::asio::io_service::strand&) [with Stream = boost::asio::basic_stream_socket, boost::asio::ssl::detail::ssl_primitive_func = boost::function, SSL = ssl_st, BIO = bio_st, boost::asio::ssl::detail::user_handler_func = boost::function]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:266:5: instantiated from ‘void boost::asio::ssl::detail::openssl_stream_service::async_handshake(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, boost::asio::ssl::stream_base::handshake_type, Handler) [with Stream = boost::asio::basic_stream_socket, Handler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, boost::asio::ssl::detail::openssl_stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream_service.hpp:104:5: instantiated from ‘void boost::asio::ssl::stream_service::async_handshake(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, boost::asio::ssl::stream_base::handshake_type, HandshakeHandler) [with Stream = boost::asio::basic_stream_socket, HandshakeHandler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, boost::asio::ssl::stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream.hpp:225:5: instantiated from ‘void boost::asio::ssl::stream::async_handshake(boost::asio::ssl::stream_base::handshake_type, HandshakeHandler) [with HandshakeHandler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, Stream = boost::asio::basic_stream_socket, Service = boost::asio::ssl::stream_service]’ adchpp/SocketManager.cpp:147:130: instantiated from here boost/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t > >, boost::_bi::list1 >*> > >]’: boost/boost/function/function_base.hpp:360:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t > >, boost::_bi::list1 >*> > >, mpl_::true_ = mpl_::bool_]’ boost/boost/function/function_base.hpp:406:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t > >, boost::_bi::list1 >*> > >]’ boost/boost/function/function_base.hpp:434:13: instantiated from ‘static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t > >, boost::_bi::list1 >*> > >]’ boost/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function0::assign_to(Functor) [with Functor = boost::_bi::bind_t > >, boost::_bi::list1 >*> > >, R = int]’ boost/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function0::function0(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t > >, boost::_bi::list1 >*> > >, R = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1064:16: instantiated from ‘boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t > >, boost::_bi::list1 >*> > >, R = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1105:5: instantiated from ‘typename boost::enable_if_c::value>::value, boost::function&>::type boost::function::operator=(Functor) [with Functor = boost::_bi::bind_t > >, boost::_bi::list1 >*> > >, R = int, typename boost::enable_if_c::value>::value, boost::function&>::type = boost::function&]’ boost/boost/asio/ssl/detail/openssl_operation.hpp:107:5: instantiated from ‘boost::asio::ssl::detail::openssl_operation::openssl_operation(boost::asio::ssl::detail::ssl_primitive_func, Stream&, boost::asio::ssl::detail::net_buffer&, SSL*, BIO*, boost::asio::ssl::detail::user_handler_func, boost::asio::io_service::strand&) [with Stream = boost::asio::basic_stream_socket, boost::asio::ssl::detail::ssl_primitive_func = boost::function, SSL = ssl_st, BIO = bio_st, boost::asio::ssl::detail::user_handler_func = boost::function]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:266:5: instantiated from ‘void boost::asio::ssl::detail::openssl_stream_service::async_handshake(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, boost::asio::ssl::stream_base::handshake_type, Handler) [with Stream = boost::asio::basic_stream_socket, Handler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, boost::asio::ssl::detail::openssl_stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream_service.hpp:104:5: instantiated from ‘void boost::asio::ssl::stream_service::async_handshake(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, boost::asio::ssl::stream_base::handshake_type, HandshakeHandler) [with Stream = boost::asio::basic_stream_socket, HandshakeHandler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, boost::asio::ssl::stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream.hpp:225:5: instantiated from ‘void boost::asio::ssl::stream::async_handshake(boost::asio::ssl::stream_base::handshake_type, HandshakeHandler) [with HandshakeHandler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, Stream = boost::asio::basic_stream_socket, Service = boost::asio::ssl::stream_service]’ adchpp/SocketManager.cpp:147:130: instantiated from here boost/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t >, boost::system::error_code, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >]’: boost/boost/function/function_base.hpp:360:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t >, boost::system::error_code, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, mpl_::true_ = mpl_::bool_]’ boost/boost/function/function_base.hpp:406:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t >, boost::system::error_code, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_base.hpp:434:13: instantiated from ‘static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t >, boost::system::error_code, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function2::assign_to(Functor) [with Functor = boost::_bi::bind_t >, boost::system::error_code, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, R = int, T0 = const boost::system::error_code&, T1 = int]’ boost/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function2::function2(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t >, boost::system::error_code, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, R = int, T0 = const boost::system::error_code&, T1 = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1064:16: instantiated from ‘boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t >, boost::system::error_code, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, R = int, T0 = const boost::system::error_code&, T1 = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1105:5: instantiated from ‘typename boost::enable_if_c::value>::value, boost::function&>::type boost::function::operator=(Functor) [with Functor = boost::_bi::bind_t >, boost::system::error_code, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, R = int, T0 = const boost::system::error_code&, T1 = int, typename boost::enable_if_c::value>::value, boost::function&>::type = boost::function&]’ boost/boost/asio/ssl/detail/openssl_operation.hpp:111:5: instantiated from ‘boost::asio::ssl::detail::openssl_operation::openssl_operation(boost::asio::ssl::detail::ssl_primitive_func, Stream&, boost::asio::ssl::detail::net_buffer&, SSL*, BIO*, boost::asio::ssl::detail::user_handler_func, boost::asio::io_service::strand&) [with Stream = boost::asio::basic_stream_socket, boost::asio::ssl::detail::ssl_primitive_func = boost::function, SSL = ssl_st, BIO = bio_st, boost::asio::ssl::detail::user_handler_func = boost::function]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:266:5: instantiated from ‘void boost::asio::ssl::detail::openssl_stream_service::async_handshake(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, boost::asio::ssl::stream_base::handshake_type, Handler) [with Stream = boost::asio::basic_stream_socket, Handler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, boost::asio::ssl::detail::openssl_stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream_service.hpp:104:5: instantiated from ‘void boost::asio::ssl::stream_service::async_handshake(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, boost::asio::ssl::stream_base::handshake_type, HandshakeHandler) [with Stream = boost::asio::basic_stream_socket, HandshakeHandler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, boost::asio::ssl::stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream.hpp:225:5: instantiated from ‘void boost::asio::ssl::stream::async_handshake(boost::asio::ssl::stream_base::handshake_type, HandshakeHandler) [with HandshakeHandler = std::_Bind&)>(adchpp::TLSSocketStream*, std::_Placeholder<1>, std::function)>, Stream = boost::asio::basic_stream_socket, Service = boost::asio::ssl::stream_service]’ adchpp/SocketManager.cpp:147:130: instantiated from here boost/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >]’: boost/boost/function/function_base.hpp:360:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >, mpl_::true_ = mpl_::bool_]’ boost/boost/function/function_base.hpp:406:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >]’ boost/boost/function/function_base.hpp:434:13: instantiated from ‘static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >]’ boost/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function1::assign_to(Functor) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >, R = int, T0 = ssl_st*]’ boost/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function1::function1(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >, R = int, T0 = ssl_st*, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1064:16: instantiated from ‘boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >, R = int, T0 = ssl_st*, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:490:40: instantiated from ‘void boost::asio::ssl::detail::openssl_stream_service::async_read_some(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, const Mutable_Buffers&, Handler) [with Stream = boost::asio::basic_stream_socket, Mutable_Buffers = boost::asio::mutable_buffers_1, Handler = std::function, boost::asio::ssl::detail::openssl_stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream_service.hpp:154:5: instantiated from ‘void boost::asio::ssl::stream_service::async_read_some(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, const MutableBufferSequence&, ReadHandler) [with Stream = boost::asio::basic_stream_socket, MutableBufferSequence = boost::asio::mutable_buffers_1, ReadHandler = std::function, boost::asio::ssl::stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream.hpp:424:5: instantiated from ‘void boost::asio::ssl::stream::async_read_some(const MutableBufferSequence&, ReadHandler) [with MutableBufferSequence = boost::asio::mutable_buffers_1, ReadHandler = std::function, Stream = boost::asio::basic_stream_socket, Service = boost::asio::ssl::stream_service]’ adchpp/SocketManager.cpp:79:4: instantiated from ‘void adchpp::SocketStream::prepareRead(const BufferPtr&, const Handler&) [with T = boost::asio::ssl::stream >, adchpp::BufferPtr = std::shared_ptr, adchpp::AsyncStream::Handler = std::function]’ adchpp/SocketManager.cpp:352:1: instantiated from here boost/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >]’: boost/boost/function/function_base.hpp:360:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >, mpl_::true_ = mpl_::bool_]’ boost/boost/function/function_base.hpp:406:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_base.hpp:434:13: instantiated from ‘static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function2::assign_to(Functor) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = int]’ boost/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function2::function2(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1064:16: instantiated from ‘boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:507:5: instantiated from ‘void boost::asio::ssl::detail::openssl_stream_service::async_read_some(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, const Mutable_Buffers&, Handler) [with Stream = boost::asio::basic_stream_socket, Mutable_Buffers = boost::asio::mutable_buffers_1, Handler = std::function, boost::asio::ssl::detail::openssl_stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream_service.hpp:154:5: instantiated from ‘void boost::asio::ssl::stream_service::async_read_some(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, const MutableBufferSequence&, ReadHandler) [with Stream = boost::asio::basic_stream_socket, MutableBufferSequence = boost::asio::mutable_buffers_1, ReadHandler = std::function, boost::asio::ssl::stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream.hpp:424:5: instantiated from ‘void boost::asio::ssl::stream::async_read_some(const MutableBufferSequence&, ReadHandler) [with MutableBufferSequence = boost::asio::mutable_buffers_1, ReadHandler = std::function, Stream = boost::asio::basic_stream_socket, Service = boost::asio::ssl::stream_service]’ adchpp/SocketManager.cpp:79:4: instantiated from ‘void adchpp::SocketStream::prepareRead(const BufferPtr&, const Handler&) [with T = boost::asio::ssl::stream >, adchpp::BufferPtr = std::shared_ptr, adchpp::AsyncStream::Handler = std::function]’ adchpp/SocketManager.cpp:352:1: instantiated from here boost/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >]’: boost/boost/function/function_base.hpp:360:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >, mpl_::true_ = mpl_::bool_]’ boost/boost/function/function_base.hpp:406:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >]’ boost/boost/function/function_base.hpp:434:13: instantiated from ‘static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >]’ boost/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function1::assign_to(Functor) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >, R = int, T0 = ssl_st*]’ boost/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function1::function1(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >, R = int, T0 = ssl_st*, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1064:16: instantiated from ‘boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t, boost::_bi::value, boost::_bi::value > >, R = int, T0 = ssl_st*, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:397:40: instantiated from ‘void boost::asio::ssl::detail::openssl_stream_service::async_write_some(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, const Const_Buffers&, Handler) [with Stream = boost::asio::basic_stream_socket, Const_Buffers = boost::asio::mutable_buffers_1, Handler = std::function, boost::asio::ssl::detail::openssl_stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream_service.hpp:137:5: instantiated from ‘void boost::asio::ssl::stream_service::async_write_some(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, const ConstBufferSequence&, WriteHandler) [with Stream = boost::asio::basic_stream_socket, ConstBufferSequence = boost::asio::mutable_buffers_1, WriteHandler = std::function, boost::asio::ssl::stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream.hpp:346:5: instantiated from ‘void boost::asio::ssl::stream::async_write_some(const ConstBufferSequence&, WriteHandler) [with ConstBufferSequence = boost::asio::mutable_buffers_1, WriteHandler = std::function, Stream = boost::asio::basic_stream_socket, Service = boost::asio::ssl::stream_service]’ adchpp/SocketManager.cpp:91:4: instantiated from ‘void adchpp::SocketStream::write(const BufferList&, const Handler&) [with T = boost::asio::ssl::stream >, adchpp::BufferList = std::vector >, adchpp::AsyncStream::Handler = std::function]’ adchpp/SocketManager.cpp:352:1: instantiated from here boost/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t, std::function >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >]’: boost/boost/function/function_base.hpp:360:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t, std::function >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >, mpl_::true_ = mpl_::bool_]’ boost/boost/function/function_base.hpp:406:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t, std::function >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_base.hpp:434:13: instantiated from ‘static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t, std::function >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function2::assign_to(Functor) [with Functor = boost::_bi::bind_t, std::function >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = unsigned int]’ boost/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function2::function2(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t, std::function >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = unsigned int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1064:16: instantiated from ‘boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t, std::function >, const boost::system::error_code&, unsigned int>, boost::_bi::list3, std::function >*>, boost::arg<1>, boost::arg<2> > >, R = void, T0 = const boost::system::error_code&, T1 = unsigned int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:94:7: instantiated from ‘boost::asio::ssl::detail::openssl_stream_service::io_handler::io_handler(Handler, boost::asio::io_service&) [with Stream = boost::asio::basic_stream_socket, Handler = std::function]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:485:77: instantiated from ‘void boost::asio::ssl::detail::openssl_stream_service::async_read_some(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, const Mutable_Buffers&, Handler) [with Stream = boost::asio::basic_stream_socket, Mutable_Buffers = boost::asio::mutable_buffers_1, Handler = std::function, boost::asio::ssl::detail::openssl_stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream_service.hpp:154:5: instantiated from ‘void boost::asio::ssl::stream_service::async_read_some(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, const MutableBufferSequence&, ReadHandler) [with Stream = boost::asio::basic_stream_socket, MutableBufferSequence = boost::asio::mutable_buffers_1, ReadHandler = std::function, boost::asio::ssl::stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream.hpp:424:5: instantiated from ‘void boost::asio::ssl::stream::async_read_some(const MutableBufferSequence&, ReadHandler) [with MutableBufferSequence = boost::asio::mutable_buffers_1, ReadHandler = std::function, Stream = boost::asio::basic_stream_socket, Service = boost::asio::ssl::stream_service]’ adchpp/SocketManager.cpp:79:4: instantiated from ‘void adchpp::SocketStream::prepareRead(const BufferPtr&, const Handler&) [with T = boost::asio::ssl::stream >, adchpp::BufferPtr = std::shared_ptr, adchpp::AsyncStream::Handler = std::function]’ adchpp/SocketManager.cpp:352:1: instantiated from here boost/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp: In static member function ‘static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >]’: boost/boost/function/function_base.hpp:360:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, mpl_::true_ = mpl_::bool_]’ boost/boost/function/function_base.hpp:406:11: instantiated from ‘static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_base.hpp:434:13: instantiated from ‘static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >]’ boost/boost/function/function_template.hpp:913:60: instantiated from ‘void boost::function2::assign_to(Functor) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, R = int, T0 = const boost::system::error_code&, T1 = int]’ boost/boost/function/function_template.hpp:722:7: instantiated from ‘boost::function2::function2(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = boost::_bi::bind_t >, const boost::system::error_code&, int>, boost::_bi::list3 >*>, boost::arg<1>, boost::arg<2> > >, R = int, T0 = const boost::system::error_code&, T1 = int, typename boost::enable_if_c::value>::value, int>::type = int]’ boost/boost/function/function_template.hpp:1064:16: [ skipping 2 instantiation contexts ] boost/boost/asio/ssl/detail/openssl_operation.hpp:138:5: instantiated from ‘boost::asio::ssl::detail::openssl_operation::openssl_operation(boost::asio::ssl::detail::ssl_primitive_func, Stream&, boost::asio::ssl::detail::net_buffer&, SSL*, BIO*) [with Stream = boost::asio::basic_stream_socket, boost::asio::ssl::detail::ssl_primitive_func = boost::function, SSL = ssl_st, BIO = bio_st]’ boost/boost/asio/ssl/detail/openssl_stream_service.hpp:450:7: instantiated from ‘std::size_t boost::asio::ssl::detail::openssl_stream_service::read_some(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, const Mutable_Buffers&, boost::system::error_code&) [with Stream = boost::asio::basic_stream_socket, Mutable_Buffers = boost::asio::mutable_buffers_1, std::size_t = unsigned int, boost::asio::ssl::detail::openssl_stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream_service.hpp:145:65: instantiated from ‘std::size_t boost::asio::ssl::stream_service::read_some(boost::asio::ssl::detail::openssl_stream_service::impl_struct*&, Stream&, const MutableBufferSequence&, boost::system::error_code&) [with Stream = boost::asio::basic_stream_socket, MutableBufferSequence = boost::asio::mutable_buffers_1, std::size_t = unsigned int, boost::asio::ssl::stream_service::impl_type = boost::asio::ssl::detail::openssl_stream_service::impl_struct*]’ boost/boost/asio/ssl/stream.hpp:369:71: instantiated from ‘std::size_t boost::asio::ssl::stream::read_some(const MutableBufferSequence&) [with MutableBufferSequence = boost::asio::mutable_buffers_1, Stream = boost::asio::basic_stream_socket, Service = boost::asio::ssl::stream_service, std::size_t = unsigned int]’ adchpp/SocketManager.cpp:86:70: instantiated from ‘size_t adchpp::SocketStream::read(const BufferPtr&) [with T = boost::asio::ssl::stream >, size_t = unsigned int, adchpp::BufferPtr = std::shared_ptr]’ adchpp/SocketManager.cpp:352:1: instantiated from here boost/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] boost/boost/system/error_code.hpp: At global scope: boost/boost/system/error_code.hpp:214:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable] boost/boost/system/error_code.hpp:215:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable] boost/boost/system/error_code.hpp:216:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable] boost/boost/asio/error.hpp:253:45: warning: ‘boost::asio::error::netdb_category’ defined but not used [-Wunused-variable] boost/boost/asio/error.hpp:255:45: warning: ‘boost::asio::error::addrinfo_category’ defined but not used [-Wunused-variable] boost/boost/asio/error.hpp:257:45: warning: ‘boost::asio::error::misc_category’ defined but not used [-Wunused-variable] boost/boost/asio/error.hpp:259:45: warning: ‘boost::asio::error::ssl_category’ defined but not used [-Wunused-variable] scons: *** [build/release-default/adchpp/SocketManager.os] Error 1 scons: building terminated because of errors.