From 228753d44597df3144309e1c118932e2d45abac0 Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 19 Feb 2019 20:56:04 +0300 Subject: [PATCH 1/3] compilation warning fixed --- src/currency_protocol/currency_protocol_defs_print.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/currency_protocol/currency_protocol_defs_print.h b/src/currency_protocol/currency_protocol_defs_print.h index 05ef76ee..68f6fa4b 100644 --- a/src/currency_protocol/currency_protocol_defs_print.h +++ b/src/currency_protocol/currency_protocol_defs_print.h @@ -66,7 +66,6 @@ namespace currency std::string print_kv_structure(const NOTIFY_REQUEST_CHAIN::request& v) { std::stringstream ss; - size_t i = 0; ss << "block_ids: {" << ENDL << print_container_of_hashs(v.block_ids, 2) << ENDL << "}"; return ss.str(); } From 84bd7b6e777179258fa33936b4374122538e47ac Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 19 Feb 2019 20:58:49 +0300 Subject: [PATCH 2/3] an attempt to fix conn_tool linkage issue on gcc 7.3 --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 85cb0d56..1da141da 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -123,7 +123,7 @@ ENABLE_SHARED_PCH_EXECUTABLE(daemon) add_executable(connectivity_tool ${CONN_TOOL}) add_dependencies(connectivity_tool version) -target_link_libraries(connectivity_tool currency_core crypto common zlibstatic ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES}) +target_link_libraries(connectivity_tool currency_core crypto common zlibstatic ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES}) ENABLE_SHARED_PCH(CONN_TOOL) ENABLE_SHARED_PCH_EXECUTABLE(connectivity_tool) From 9d0f8c9966bb153f0f4d2d6a475080266d1dcc5c Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 19 Feb 2019 21:42:41 +0300 Subject: [PATCH 3/3] tiny enhancement to conn_tool --- src/connectivity_tool/conn_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connectivity_tool/conn_tool.cpp b/src/connectivity_tool/conn_tool.cpp index e73cbe49..08edbcf2 100644 --- a/src/connectivity_tool/conn_tool.cpp +++ b/src/connectivity_tool/conn_tool.cpp @@ -996,7 +996,7 @@ bool handle_download_peer_log(po::variables_map& vm) } std::cout << "Remote log from offset " << start_offset << " to offset " << end_offset << " (" << end_offset - start_offset << " bytes) " << - "was successfully downloaded to " << local_filename; + "was successfully downloaded to " << local_filename << ENDL; return true; }