[ 87%] Building CXX object src/CMakeFiles/daemon.dir/daemon/daemon.cpp.o
In file included from /c/boolberry/contrib/epee/include/storages/portable_storage_template_helper.h:29:0,
from /c/boolberry/contrib/epee/include/storages/levin_abstract_invoke2.h:29,
from /c/boolberry/src/p2p/net_node.h:22,
from /c/boolberry/src/daemon/daemon.cpp:18:
/c/boolberry/contrib/epee/include/storages/portable_storage.h: In member function ‘bool epee::serialization::portable_storage::get_next_section(epee::serialization::portable_storage::harray, epee::serialization::section*&)’:
/c/boolberry/contrib/epee/include/storages/portable_storage.h:430:16: warning: converting to ‘bool’ from ‘std::nullptr_t’ requires direct-initialization [-fpermissive]
return nullptr;
^
In file included from /c/boolberry/src/p2p/net_node.h:267:0,
from /c/boolberry/src/daemon/daemon.cpp:18:
/c/boolberry/src/p2p/net_node.inl: In instantiation of ‘nodetool::node_server::try_ping(nodetool::basic_node_data&, nodetool::node_server::p2p_connection_context&, t_callback)::::net_server::t_connection_context&, const boost::system::error_code&)>::::p2p_connection_context&)> [with t_callback = nodetool::node_server::handle_handshake(int, typename nodetool::node_server::COMMAND_HANDSHAKE::request&, typename nodetool::node_server::COMMAND_HANDSHAKE::response&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::COMMAND_HANDSHAKE::request = nodetool::COMMAND_HANDSHAKE_T::request; typename nodetool::node_server::COMMAND_HANDSHAKE::response = nodetool::COMMAND_HANDSHAKE_T::response; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::; t_payload_net_handler = currency::t_currency_protocol_handler; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]’:
/c/boolberry/src/p2p/net_node.inl:1108:9: required from ‘struct nodetool::node_server::try_ping(nodetool::basic_node_data&, nodetool::node_server::p2p_connection_context&, t_callback)::::net_server::t_connection_context&, const boost::system::error_code&)> [with t_callback = nodetool::node_server::handle_handshake(int, typename nodetool::node_server::COMMAND_HANDSHAKE::request&, typename nodetool::node_server::COMMAND_HANDSHAKE::response&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::COMMAND_HANDSHAKE::request = nodetool::COMMAND_HANDSHAKE_T::request; typename nodetool::node_server::COMMAND_HANDSHAKE::response = nodetool::COMMAND_HANDSHAKE_T::response; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::; t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::net_server::t_connection_context = nodetool::p2p_connection_context_t]:: >::p2p_connection_context&)>’
/c/boolberry/src/p2p/net_node.inl:1091:90: required from ‘nodetool::node_server::try_ping(nodetool::basic_node_data&, nodetool::node_server::p2p_connection_context&, t_callback)::::net_server::t_connection_context&, const boost::system::error_code&)> [with t_callback = nodetool::node_server::handle_handshake(int, typename nodetool::node_server::COMMAND_HANDSHAKE::request&, typename nodetool::node_server::COMMAND_HANDSHAKE::response&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::COMMAND_HANDSHAKE::request = nodetool::COMMAND_HANDSHAKE_T::request; typename nodetool::node_server::COMMAND_HANDSHAKE::response = nodetool::COMMAND_HANDSHAKE_T::response; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::; t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::net_server::t_connection_context = nodetool::p2p_connection_context_t]’
/c/boolberry/src/p2p/net_node.inl:1075:117: required from ‘struct nodetool::node_server::try_ping(nodetool::basic_node_data&, nodetool::node_server::p2p_connection_context&, t_callback) [with t_callback = nodetool::node_server::handle_handshake(int, typename nodetool::node_server::COMMAND_HANDSHAKE::request&, typename nodetool::node_server::COMMAND_HANDSHAKE::response&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::COMMAND_HANDSHAKE::request = nodetool::COMMAND_HANDSHAKE_T::request; typename nodetool::node_server::COMMAND_HANDSHAKE::response = nodetool::COMMAND_HANDSHAKE_T::response; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::; t_payload_net_handler = currency::t_currency_protocol_handler; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::’
/c/boolberry/src/p2p/net_node.inl:1118:6: required from ‘bool nodetool::node_server::try_ping(nodetool::basic_node_data&, nodetool::node_server::p2p_connection_context&, t_callback) [with t_callback = nodetool::node_server::handle_handshake(int, typename nodetool::node_server::COMMAND_HANDSHAKE::request&, typename nodetool::node_server::COMMAND_HANDSHAKE::response&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::COMMAND_HANDSHAKE::request = nodetool::COMMAND_HANDSHAKE_T::request; typename nodetool::node_server::COMMAND_HANDSHAKE::response = nodetool::COMMAND_HANDSHAKE_T::response; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::; t_payload_net_handler = currency::t_currency_protocol_handler; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]’
/c/boolberry/src/p2p/net_node.inl:1198:15: required from ‘int nodetool::node_server::handle_handshake(int, typename nodetool::node_server::COMMAND_HANDSHAKE::request&, typename nodetool::node_server::COMMAND_HANDSHAKE::response&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::COMMAND_HANDSHAKE::request = nodetool::COMMAND_HANDSHAKE_T::request; typename nodetool::node_server::COMMAND_HANDSHAKE::response = nodetool::COMMAND_HANDSHAKE_T::response; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]’
/c/boolberry/src/p2p/net_node.h:113:255: required from ‘int nodetool::node_server::handle_invoke_map(bool, int, const string&, std::string&, t_context&, bool&) [with t_context = nodetool::p2p_connection_context_t; t_payload_net_handler = currency::t_currency_protocol_handler; std::string = std::basic_string]’
/c/boolberry/src/p2p/net_node.h:109:161: required from ‘int nodetool::node_server::invoke(int, const string&, std::string&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; std::string = std::basic_string; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]’
/c/boolberry/src/daemon/daemon.cpp:254:1: required from here
/c/boolberry/src/p2p/net_node.inl:1103:371: error: redeclaration of ‘const peerid_type pr’
In file included from /c/boolberry/src/p2p/net_node.h:267:0,
from /c/boolberry/src/daemon/daemon.cpp:18:
/c/boolberry/src/p2p/net_node.inl:1101:37: note: ‘const peerid_type pr’ previously declared here
if(rsp.status != PING_OK_RESPONSE_STATUS_TEXT || pr != rsp.peer_id)
^
In file included from /c/boolberry/src/p2p/net_node.h:267:0,
from /c/boolberry/src/daemon/daemon.cpp:18:
/c/boolberry/src/p2p/net_node.inl: In instantiation of ‘nodetool::node_server::try_ping(nodetool::basic_node_data&, nodetool::node_server::p2p_connection_context&, t_callback)::::net_server::t_connection_context&, const boost::system::error_code&)> [with t_callback = nodetool::node_server::handle_handshake(int, typename nodetool::node_server::COMMAND_HANDSHAKE::request&, typename nodetool::node_server::COMMAND_HANDSHAKE::response&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::COMMAND_HANDSHAKE::request = nodetool::COMMAND_HANDSHAKE_T::request; typename nodetool::node_server::COMMAND_HANDSHAKE::response = nodetool::COMMAND_HANDSHAKE_T::response; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::; t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::net_server::t_connection_context = nodetool::p2p_connection_context_t]’:
/c/boolberry/src/p2p/net_node.inl:1075:117: required from ‘struct nodetool::node_server::try_ping(nodetool::basic_node_data&, nodetool::node_server::p2p_connection_context&, t_callback) [with t_callback = nodetool::node_server::handle_handshake(int, typename nodetool::node_server::COMMAND_HANDSHAKE::request&, typename nodetool::node_server::COMMAND_HANDSHAKE::response&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::COMMAND_HANDSHAKE::request = nodetool::COMMAND_HANDSHAKE_T::request; typename nodetool::node_server::COMMAND_HANDSHAKE::response = nodetool::COMMAND_HANDSHAKE_T::response; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::; t_payload_net_handler = currency::t_currency_protocol_handler; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::’
/c/boolberry/src/p2p/net_node.inl:1118:6: required from ‘bool nodetool::node_server::try_ping(nodetool::basic_node_data&, nodetool::node_server::p2p_connection_context&, t_callback) [with t_callback = nodetool::node_server::handle_handshake(int, typename nodetool::node_server::COMMAND_HANDSHAKE::request&, typename nodetool::node_server::COMMAND_HANDSHAKE::response&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::COMMAND_HANDSHAKE::request = nodetool::COMMAND_HANDSHAKE_T::request; typename nodetool::node_server::COMMAND_HANDSHAKE::response = nodetool::COMMAND_HANDSHAKE_T::response; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::; t_payload_net_handler = currency::t_currency_protocol_handler; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]’
/c/boolberry/src/p2p/net_node.inl:1198:15: required from ‘int nodetool::node_server::handle_handshake(int, typename nodetool::node_server::COMMAND_HANDSHAKE::request&, typename nodetool::node_server::COMMAND_HANDSHAKE::response&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::COMMAND_HANDSHAKE::request = nodetool::COMMAND_HANDSHAKE_T::request; typename nodetool::node_server::COMMAND_HANDSHAKE::response = nodetool::COMMAND_HANDSHAKE_T::response; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]’
/c/boolberry/src/p2p/net_node.h:113:255: required from ‘int nodetool::node_server::handle_invoke_map(bool, int, const string&, std::string&, t_context&, bool&) [with t_context = nodetool::p2p_connection_context_t; t_payload_net_handler = currency::t_currency_protocol_handler; std::string = std::basic_string]’
/c/boolberry/src/p2p/net_node.h:109:161: required from ‘int nodetool::node_server::invoke(int, const string&, std::string&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; std::string = std::basic_string; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]’
/c/boolberry/src/daemon/daemon.cpp:254:1: required from here
/c/boolberry/src/p2p/net_node.inl:1092:9: sorry, unimplemented: non-trivial designated initializers not supported
[=](int code, const COMMAND_PING::response& rsp, p2p_connection_context& context)
^
In file included from /c/boolberry/contrib/epee/include/net/abstract_tcp_server2.h:275:0,
from /c/boolberry/contrib/epee/include/net/levin_server_cp2.h:32,
from /c/boolberry/src/p2p/net_node.h:20,
from /c/boolberry/src/daemon/daemon.cpp:18:
/c/boolberry/contrib/epee/include/net/abstract_tcp_server2.inl: At global scope:
/c/boolberry/contrib/epee/include/net/abstract_tcp_server2.inl:745:8: warning: ‘bool epee::net_utils::boosted_tcp_server::connect_async(const string&, const string&, uint32_t, t_callback, const string&) [with t_callback = nodetool::node_server::try_ping(nodetool::basic_node_data&, nodetool::node_server::p2p_connection_context&, t_callback) [with t_callback = nodetool::node_server::handle_handshake(int, typename nodetool::node_server::COMMAND_HANDSHAKE::request&, typename nodetool::node_server::COMMAND_HANDSHAKE::response&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::COMMAND_HANDSHAKE::request = nodetool::COMMAND_HANDSHAKE_T::request; typename nodetool::node_server::COMMAND_HANDSHAKE::response = nodetool::COMMAND_HANDSHAKE_T::response; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::; t_payload_net_handler = currency::t_currency_protocol_handler; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::; t_protocol_handler = epee::levin::async_protocol_handler >; std::string = std::basic_string; uint32_t = unsigned int]’, declared using local type ‘nodetool::node_server::try_ping(nodetool::basic_node_data&, nodetool::node_server::p2p_connection_context&, t_callback) [with t_callback = nodetool::node_server::handle_handshake(int, typename nodetool::node_server::COMMAND_HANDSHAKE::request&, typename nodetool::node_server::COMMAND_HANDSHAKE::response&, nodetool::node_server::p2p_connection_context&) [with t_payload_net_handler = currency::t_currency_protocol_handler; typename nodetool::node_server::COMMAND_HANDSHAKE::request = nodetool::COMMAND_HANDSHAKE_T::request; typename nodetool::node_server::COMMAND_HANDSHAKE::response = nodetool::COMMAND_HANDSHAKE_T::response; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::; t_payload_net_handler = currency::t_currency_protocol_handler; nodetool::node_server::p2p_connection_context = nodetool::p2p_connection_context_t; typename t_payload_net_handler::connection_context = currency::currency_connection_context]::’, is used but never defined [-fpermissive]
bool boosted_tcp_server::connect_async(const std::string& adr, const std::string& port, uint32_t conn_timeout, t_callback cb, const std::string& bind_ip)
^
src/CMakeFiles/daemon.dir/build.make:54: recipe for target 'src/CMakeFiles/daemon.dir/daemon/daemon.cpp.o' failed
make[3]: *** [src/CMakeFiles/daemon.dir/daemon/daemon.cpp.o] Error 1