monero/src/cryptonote_protocol
Vasil Dimov 4d35ad7603
Fix compiler warnings with Clang 6.0.0.
monero/src/cryptonote_protocol/block_queue.cpp:208:44: error:
      suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
  static const boost::uuids::uuid uuid0 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           {                                          }

monero/src/wallet/wallet_rpc_server.cpp:1895:43: error:
      lambda capture 'wal' is not used [-Werror,-Wunused-lambda-capture]
  tools::signal_handler::install([&wrpc, &wal](int) {
                                          ^

monero/src/cryptonote_protocol/cryptonote_protocol_handler.inl:1616:40: error:
      lambda capture 'arg' is not used [-Werror,-Wunused-lambda-capture]
    m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections...
                                       ^

monero/src/cryptonote_protocol/cryptonote_protocol_handler.inl:1616:46: error:
      lambda capture 'fluffy_arg' is not used [-Werror,-Wunused-lambda-capture]
    m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections...
                                             ^

monero/src/blockchain_utilities/blockchain_export.cpp:181:3: error:
      bool literal returned from 'main' [-Werror,-Wmain]
  CHECK_AND_ASSERT_MES(r, false, "Failed to initialize source blockchain storage");
  ^                       ~~~~~
monero/contrib/epee/include/misc_log_ex.h:180:97: note:
      expanded from macro 'CHECK_AND_ASSERT_MES'
  ...fail_ret_val, message)   do{if(!(expr)) {LOG_ERROR(message); return fail_ret_val;};}while(0)
                                                                  ^      ~~~~~~~~~~~~
monero/src/blockchain_utilities/blockchain_export.cpp:195:3: error:
      bool literal returned from 'main' [-Werror,-Wmain]
  CHECK_AND_ASSERT_MES(r, false, "Failed to export blockchain raw data");
  ^                       ~~~~~
monero/contrib/epee/include/misc_log_ex.h:180:97: note:
      expanded from macro 'CHECK_AND_ASSERT_MES'
  ...fail_ret_val, message)   do{if(!(expr)) {LOG_ERROR(message); return fail_ret_val;};}while(0)
                                                                  ^      ~~~~~~~~~~~~
2017-10-15 22:02:24 +03:00
..
blobdatatype.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
block_queue.cpp block_queue: use boost::uuids::nil_uuid where appropriate 2017-10-03 11:55:45 +01:00
block_queue.h cryptonote_protocol: misc fixes to the new sync algorithm 2017-08-21 21:57:19 +01:00
CMakeLists.txt build: auto update version info without manually deleting version.h 2017-09-21 07:47:37 +09:00
cryptonote_protocol_defs.h protocol: remove hop count on block propagation 2017-09-17 10:26:12 +01:00
cryptonote_protocol_handler_common.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
cryptonote_protocol_handler-base.cpp Merge pull request #2149 2017-08-07 15:24:58 +02:00
cryptonote_protocol_handler.h cryptonote_protocol: misc fixes to the new sync algorithm 2017-08-21 21:57:19 +01:00
cryptonote_protocol_handler.inl Fix compiler warnings with Clang 6.0.0. 2017-10-15 22:02:24 +03:00