Advertisement
Guest User

Untitled

a guest
Jan 14th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 5.15 KB | None | 0 0
  1. [ 78%] Building CXX object CMakeFiles/rocksdb.dir/utilities/column_aware_encoding_util.cc.o
  2. /root/AmityCoin/src/CryptoNoteCore/Checkpoints.cpp: In member function 'bool CryptoNote::Checkpoints::loadCheckpointsFromFile(const string&)':
  3. /root/AmityCoin/src/CryptoNoteCore/Checkpoints.cpp:97:27: warning: 'index' may be used uninitialized in this function [-Wmaybe-uninitialized]
  4.          if (!addCheckpoint(index, hash))
  5.               ~~~~~~~~~~~~~^~~~~~~~~~~~~
  6. [ 72%] Building CXX object src/CMakeFiles/CryptoNoteCore.dir/CryptoNoteCore/Core.cpp.o
  7. [ 78%] Building CXX object CMakeFiles/rocksdb.dir/utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc.o
  8. [ 78%] Building CXX object CMakeFiles/rocksdb.dir/utilities/date_tiered/date_tiered_db_impl.cc.o
  9. In file included from /root/AmityCoin/src/CryptoNoteCore/ICoreDefinitions.h:23:0,
  10.                  from /root/AmityCoin/src/CryptoNoteCore/ICore.h:21,
  11.                  from /root/AmityCoin/src/CryptoNoteCore/Core.h:18,
  12.                  from /root/AmityCoin/src/CryptoNoteCore/Core.cpp:18:
  13. /root/AmityCoin/include/WalletTypes.h: In member function 'int64_t WalletTypes::Transaction::totalAmount() const':
  14. /root/AmityCoin/include/WalletTypes.h:223:48: warning: unused variable 'pubKey' [-Wunused-variable]
  15.                  for (const auto [pubKey, amount] : transfers)
  16.                                                 ^
  17. In file included from /root/AmityCoin/src/CryptoNoteCore/Core.cpp:24:0:
  18. /root/AmityCoin/src/CryptoNoteCore/Mixins.h: In static member function 'static std::tuple<bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::error_code> CryptoNote::Mixins::validate(uint64_t, uint64_t)':
  19. /root/AmityCoin/src/CryptoNoteCore/Mixins.h:62:47: warning: unused variable 'defaultMixin' [-Wunused-variable]
  20.          auto [minMixin, maxMixin, defaultMixin] = getMixinAllowableRange(height);
  21.                                                ^
  22. /root/AmityCoin/src/CryptoNoteCore/Mixins.h: In static member function 'static std::tuple<bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > CryptoNote::Mixins::validate(std::vector<CryptoNote::CachedTransaction>, uint64_t)':
  23. /root/AmityCoin/src/CryptoNoteCore/Mixins.h:84:47: warning: unused variable 'defaultMixin' [-Wunused-variable]
  24.          auto [minMixin, maxMixin, defaultMixin] = getMixinAllowableRange(height);
  25.                                                ^
  26. /root/AmityCoin/src/CryptoNoteCore/Core.cpp: In member function 'virtual std::error_code CryptoNote::Core::addBlock(const CryptoNote::CachedBlock&, CryptoNote::RawBlock&&)':
  27. /root/AmityCoin/src/CryptoNoteCore/Core.cpp:1027:23: warning: unused variable 'error' [-Wunused-variable]
  28.    auto [success, error] = Mixins::validate(transactions, blockIndex);
  29.                        ^
  30. /root/AmityCoin/src/CryptoNoteCore/Core.cpp: In member function 'void CryptoNote::Core::actualizePoolTransactionsLite(const CryptoNote::TransactionValidatorState&)':
  31. /root/AmityCoin/src/CryptoNoteCore/Core.cpp:1210:152: error: too few arguments to function 'size_t CryptoNote::{anonymous}::getMaximumTransactionAllowedSize(size_t, const CryptoNote::Currency&, uint32_t)'
  32.      if (hasIntersections(validatorState, txState) || tx.getTransactionBinaryArray().size() > getMaximumTransactionAllowedSize(blockMedianSize, currency)) {
  33.                                                                                                                                                         ^
  34. /root/AmityCoin/src/CryptoNoteCore/Core.cpp:104:8: note: declared here
  35.  size_t getMaximumTransactionAllowedSize(size_t blockSizeMedian, const Currency& currency, uint32_t height) {
  36.         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  37. /root/AmityCoin/src/CryptoNoteCore/Core.cpp: In member function 'bool CryptoNote::Core::isTransactionValidForPool(const CryptoNote::CachedTransaction&, CryptoNote::TransactionValidatorState&)':
  38. /root/AmityCoin/src/CryptoNoteCore/Core.cpp:1455:87: error: too few arguments to function 'size_t CryptoNote::{anonymous}::getMaximumTransactionAllowedSize(size_t, const CryptoNote::Currency&, uint32_t)'
  39.    auto maxTransactionSize = getMaximumTransactionAllowedSize(blockMedianSize, currency);
  40.                                                                                        ^
  41. /root/AmityCoin/src/CryptoNoteCore/Core.cpp:104:8: note: declared here
  42.  size_t getMaximumTransactionAllowedSize(size_t blockSizeMedian, const Currency& currency, uint32_t height) {
  43.         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  44. /root/AmityCoin/src/CryptoNoteCore/Core.cpp:1440:21: warning: unused variable 'err' [-Wunused-variable]
  45.    auto [success, err] = Mixins::validate({cachedTransaction}, getTopBlockIndex());
  46.                      ^
  47. [ 78%] Building CXX object CMakeFiles/rocksdb.dir/utilities/debug.cc.o
  48. src/CMakeFiles/CryptoNoteCore.dir/build.make:398: recipe for target 'src/CMakeFiles/CryptoNoteCore.dir/CryptoNoteCore/Core.cpp.o' failed
  49. make[2]: *** [src/CMakeFiles/CryptoNoteCore.dir/CryptoNoteCore/Core.cpp.o] Error 1
  50. CMakeFiles/Makefile2:729: recipe for target 'src/CMakeFiles/CryptoNoteCore.dir/all' failed
  51. make[1]: *** [src/CMakeFiles/CryptoNoteCore.dir/all] Error 2
  52. make[1]: *** Waiting for unfinished jobs....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement