Advertisement
oshura

Raspbian Curecoin wallet compilation errors 11-2-19

Nov 3rd, 2019
2,542
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pi@raspberrypi:~/curecoin/CurecoinSource/src $ make -f makefile.raspberrypi
  2. /bin/sh ../share/genbuild.sh obj/build.h
  3. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/curecoin/CurecoinSource/src -I/home/pi/curecoin/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
  4. In file included from addrman.h:9,
  5.                  from net.h:20,
  6.                  from checkpoints.h:8,
  7.                  from checkpoints.cpp:8:
  8. util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  9.      return strprintf("%"PRI64d, n);
  10.                       ^
  11. In file included from checkpoints.h:8,
  12.                  from checkpoints.cpp:8:
  13. net.h:323:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  14.              printf("askfor %s   %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
  15.                     ^
  16. In file included from db.h:8,
  17.                  from checkpoints.cpp:10:
  18. main.h:652:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  19.          str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
  20.                           ^
  21. main.h:652:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  22.          str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
  23.                                                                         ^
  24. main.h:942:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  25.              printf(" entropybit=%"PRI64d"\n", hashSig.Get64());
  26.                     ^
  27. main.h:1078:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  28.          printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
  29.                 ^
  30. main.h:1341:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  31.          return strprintf("CBlockIndex(nprev=%p, pnext=%p, nFile=%u, nBlockPos=%-6d nHeight=%d, nMint=%s, nMoneySupply=%s, nFlags=(%s)(%d)(%s), nStakeModifier=%016"PRI64x", nStakeModifierChecksum=%08x, hashProofOfStake=%s, prevoutStake=(%s), nStakeTime=%d merkle=%s, hashBlock=%s)",
  32.                           ^
  33. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/curecoin/CurecoinSource/src -I/home/pi/curecoin/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/netbase.d -o obj/netbase.o netbase.cpp
  34. In file included from netbase.cpp:7:
  35. util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  36.      return strprintf("%"PRI64d, n);
  37.                       ^
  38. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/curecoin/CurecoinSource/src -I/home/pi/curecoin/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/addrman.d -o obj/addrman.o addrman.cpp
  39. In file included from addrman.h:9,
  40.                  from addrman.cpp:5:
  41. util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  42.      return strprintf("%"PRI64d, n);
  43.                       ^
  44. In file included from /usr/include/c++/8/vector:69,
  45.                  from netbase.h:8,
  46.                  from addrman.h:7,
  47.                  from addrman.cpp:5:
  48. /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const CAddress&}; _Tp = CAddress; _Alloc = std::allocator<CAddress>]:
  49. /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<CAddress>::iterator{aka ‘__gnu_cxx::__normal_iterator<CAddress*, std::vector<CAddress> >} changed in GCC 7.1
  50.        vector<_Tp, _Alloc>::
  51.        ^~~~~~~~~~~~~~~~~~~
  52. In file included from /usr/include/c++/8/map:60,
  53.                  from serialize.h:10,
  54.                  from netbase.h:10,
  55.                  from addrman.h:7,
  56.                  from addrman.cpp:5:
  57. /usr/include/c++/8/bits/stl_tree.h: In member function ‘std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = int; _Val = std::pair<const int, CAddrInfo>; _KeyOfValue = std::_Select1st<std::pair<const int, CAddrInfo> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, CAddrInfo> >]:
  58. /usr/include/c++/8/bits/stl_tree.h:2146:5: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  59.      _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
  60.      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  61. /usr/include/c++/8/bits/stl_tree.h: In member function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const int&>, std::tuple<>}; _Key = int; _Val = std::pair<const int, CAddrInfo>; _KeyOfValue = std::_Select1st<std::pair<const int, CAddrInfo> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, CAddrInfo> >]:
  62. /usr/include/c++/8/bits/stl_tree.h:2411:7: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  63.        _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
  64.        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  65. In file included from /usr/include/c++/8/map:61,
  66.                  from serialize.h:10,
  67.                  from netbase.h:10,
  68.                  from addrman.h:7,
  69.                  from addrman.cpp:5:
  70. /usr/include/c++/8/bits/stl_map.h: In member function ‘void CAddrMan::SwapRandom(unsigned int, unsigned int):
  71. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  72.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  73. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  74.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  75. /usr/include/c++/8/bits/stl_map.h: In member function ‘void CAddrMan::GetAddr_(std::vector<CAddress>&):
  76. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  77.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  78. In file included from /usr/include/c++/8/vector:64,
  79.                  from netbase.h:8,
  80.                  from addrman.h:7,
  81.                  from addrman.cpp:5:
  82. /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<CAddress*, std::vector<CAddress> >’ changed in GCC 7.1
  83.     _M_realloc_insert(end(), __x);
  84.     ^~~~~~~~~~~~~~~~~
  85. In file included from /usr/include/c++/8/map:61,
  86.                  from serialize.h:10,
  87.                  from netbase.h:10,
  88.                  from addrman.h:7,
  89.                  from addrman.cpp:5:
  90. /usr/include/c++/8/bits/stl_map.h: In member function ‘CAddress CAddrMan::Select_(int):
  91. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  92.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  93. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  94.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  95. /usr/include/c++/8/bits/stl_map.h: In member function ‘int CAddrMan::ShrinkNew(int):
  96. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  97.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  98. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  99.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  100. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  101.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  102. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  103.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  104. In file included from /usr/include/c++/8/map:60,
  105.                  from serialize.h:10,
  106.                  from netbase.h:10,
  107.                  from addrman.h:7,
  108.                  from addrman.cpp:5:
  109. /usr/include/c++/8/bits/stl_tree.h: In member function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<int&&>, std::tuple<>}; _Key = int; _Val = std::pair<const int, CAddrInfo>; _KeyOfValue = std::_Select1st<std::pair<const int, CAddrInfo> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, CAddrInfo> >]:
  110. /usr/include/c++/8/bits/stl_tree.h:2411:7: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  111.        _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
  112.        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  113. In file included from /usr/include/c++/8/map:61,
  114.                  from serialize.h:10,
  115.                  from netbase.h:10,
  116.                  from addrman.h:7,
  117.                  from addrman.cpp:5:
  118. /usr/include/c++/8/bits/stl_map.h: In member function ‘int CAddrMan::SelectTried(int):
  119. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  120.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  121. /usr/include/c++/8/bits/stl_map.h:518:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  122.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  123. /usr/include/c++/8/bits/stl_map.h: In member function ‘void CAddrMan::MakeTried(CAddrInfo&, int, int):
  124. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  125.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  126. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  127.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  128. /usr/include/c++/8/bits/stl_map.h: In member function ‘CAddrInfo* CAddrMan::Create(const CAddress&, const CNetAddr&, int*):
  129. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  130.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  131. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  132.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  133. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  134.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  135. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/curecoin/CurecoinSource/src -I/home/pi/curecoin/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/crypter.d -o obj/crypter.o crypter.cpp
  136. In file included from key.h:14,
  137.                  from crypter.h:8,
  138.                  from crypter.cpp:13:
  139. util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  140.      return strprintf("%"PRI64d, n);
  141.                       ^
  142. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/curecoin/CurecoinSource/src -I/home/pi/curecoin/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/key.d -o obj/key.o key.cpp
  143. In file included from key.h:14,
  144.                  from key.cpp:10:
  145. util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  146.      return strprintf("%"PRI64d, n);
  147.                       ^
  148. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/curecoin/CurecoinSource/src -I/home/pi/curecoin/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/db.d -o obj/db.o db.cpp
  149. In file included from bignum.h:12,
  150.                  from main.h:8,
  151.                  from db.h:8,
  152.                  from db.cpp:6:
  153. util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  154.      return strprintf("%"PRI64d, n);
  155.                       ^
  156. In file included from main.h:10,
  157.                  from db.h:8,
  158.                  from db.cpp:6:
  159. net.h:323:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  160.              printf("askfor %s   %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
  161.                     ^
  162. In file included from db.h:8,
  163.                  from db.cpp:6:
  164. main.h:652:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  165.          str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
  166.                           ^
  167. main.h:652:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  168.          str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
  169.                                                                         ^
  170. main.h:942:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  171.              printf(" entropybit=%"PRI64d"\n", hashSig.Get64());
  172.                     ^
  173. main.h:1078:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  174.          printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
  175.                 ^
  176. main.h:1341:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  177.          return strprintf("CBlockIndex(nprev=%p, pnext=%p, nFile=%u, nBlockPos=%-6d nHeight=%d, nMint=%s, nMoneySupply=%s, nFlags=(%s)(%d)(%s), nStakeModifier=%016"PRI64x", nStakeModifierChecksum=%08x, hashProofOfStake=%s, prevoutStake=(%s), nStakeTime=%d merkle=%s, hashBlock=%s)",
  178.                           ^
  179. db.cpp:465:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  180.          printf("DBFlush(%s)%s ended %15"PRI64d"ms\n", fShutdown ? "true" : "false", fDbEnvInit ? "" : " db not started", GetTimeMillis() - nStart);
  181.                 ^
  182. db.cpp:639:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  183.              return error("CTxDB::LoadBlockIndex() : Failed stake modifier checkpoint height=%d, modifier=0x%016"PRI64x, pindex->nHeight, pindex->nStakeModifier);
  184.                           ^
  185. In file included from /usr/include/c++/8/map:60,
  186.                  from util.h:17,
  187.                  from bignum.h:12,
  188.                  from main.h:8,
  189.                  from db.h:8,
  190.                  from db.cpp:6:
  191. /usr/include/c++/8/bits/stl_tree.h: In member function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const int&>, std::tuple<>}; _Key = int; _Val = std::pair<const int, CAddrInfo>; _KeyOfValue = std::_Select1st<std::pair<const int, CAddrInfo> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, CAddrInfo> >]:
  192. /usr/include/c++/8/bits/stl_tree.h:2411:7: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  193.        _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
  194.        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  195. In file included from /usr/include/c++/8/map:61,
  196.                  from util.h:17,
  197.                  from bignum.h:12,
  198.                  from main.h:8,
  199.                  from db.h:8,
  200.                  from db.cpp:6:
  201. /usr/include/c++/8/bits/stl_map.h: In member function ‘void CAddrMan::Unserialize(Stream&, int, int) [with Stream = CDataStream]:
  202. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  203.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  204. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  205.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  206. /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator{aka ‘std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >} changed in GCC 7.1
  207.     __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
  208. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/curecoin/CurecoinSource/src -I/home/pi/curecoin/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/init.d -o obj/init.o init.cpp
  209. In file included from bignum.h:12,
  210.                  from main.h:8,
  211.                  from db.h:8,
  212.                  from init.cpp:5:
  213. util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  214.      return strprintf("%"PRI64d, n);
  215.                       ^
  216. In file included from main.h:10,
  217.                  from db.h:8,
  218.                  from init.cpp:5:
  219. net.h:323:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  220.              printf("askfor %s   %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
  221.                     ^
  222. In file included from db.h:8,
  223.                  from init.cpp:5:
  224. main.h:652:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  225.          str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
  226.                           ^
  227. main.h:652:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  228.          str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
  229.                                                                         ^
  230. main.h:942:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  231.              printf(" entropybit=%"PRI64d"\n", hashSig.Get64());
  232.                     ^
  233. main.h:1078:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  234.          printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
  235.                 ^
  236. main.h:1341:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  237.          return strprintf("CBlockIndex(nprev=%p, pnext=%p, nFile=%u, nBlockPos=%-6d nHeight=%d, nMint=%s, nMoneySupply=%s, nFlags=(%s)(%d)(%s), nStakeModifier=%016"PRI64x", nStakeModifierChecksum=%08x, hashProofOfStake=%s, prevoutStake=(%s), nStakeTime=%d merkle=%s, hashBlock=%s)",
  238.                           ^
  239. init.cpp:698:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  240.      printf(" block index %15"PRI64d"ms\n", GetTimeMillis() - nStart);
  241.             ^
  242. init.cpp:800:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  243.      printf(" wallet      %15"PRI64d"ms\n", GetTimeMillis() - nStart);
  244.             ^
  245. init.cpp:820:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  246.          printf(" rescan      %15"PRI64d"ms\n", GetTimeMillis() - nStart);
  247.                 ^
  248. init.cpp:861:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  249.      printf("Loaded %i addresses from peers.dat  %"PRI64d"ms\n",
  250.             ^
  251. init.cpp:872:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  252.      printf("mapBlockIndex.size() = %"PRIszu"\n",   mapBlockIndex.size());
  253.             ^
  254. init.cpp:874:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  255.      printf("setKeyPool.size() = %"PRIszu"\n",      pwalletMain->setKeyPool.size());
  256.             ^
  257. init.cpp:875:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  258.      printf("mapWallet.size() = %"PRIszu"\n",       pwalletMain->mapWallet.size());
  259.             ^
  260. init.cpp:876:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  261.      printf("mapAddressBook.size() = %"PRIszu"\n",  pwalletMain->mapAddressBook.size());
  262.             ^
  263. In file included from curecoinrpc.h:16,
  264.                  from init.cpp:7:
  265. json/json_spirit_writer_template.h: In function ‘String_type json_spirit::non_printable_to_string(unsigned int):
  266. json/json_spirit_writer_template.h:31:50: warning: typedef ‘Char_type’ locally defined but not used [-Wunused-local-typedefs]
  267.          typedef typename String_type::value_type Char_type;
  268.                                                   ^~~~~~~~~
  269. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/curecoin/CurecoinSource/src -I/home/pi/curecoin/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/irc.d -o obj/irc.o irc.cpp
  270. In file included from addrman.h:9,
  271.                  from net.h:20,
  272.                  from irc.cpp:7:
  273. util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  274.      return strprintf("%"PRI64d, n);
  275.                       ^
  276. In file included from irc.cpp:7:
  277. net.h:323:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  278.              printf("askfor %s   %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
  279.                     ^
  280. irc.cpp:267:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  281.              strMyName = strprintf("x%"PRI64u"", GetRand(1000000000));
  282.                                    ^
  283. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/curecoin/CurecoinSource/src -I/home/pi/curecoin/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/keystore.d -o obj/keystore.o keystore.cpp
  284. In file included from key.h:14,
  285.                  from crypter.h:8,
  286.                  from keystore.h:8,
  287.                  from keystore.cpp:6:
  288. util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  289.      return strprintf("%"PRI64d, n);
  290.                       ^
  291. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/curecoin/CurecoinSource/src -I/home/pi/curecoin/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/main.d -o obj/main.o main.cpp
  292. In file included from alert.h:13,
  293.                  from main.cpp:6:
  294. util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  295.      return strprintf("%"PRI64d, n);
  296.                       ^
  297. In file included from checkpoints.h:8,
  298.                  from main.cpp:7:
  299. net.h:323:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  300.              printf("askfor %s   %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
  301.                     ^
  302. In file included from db.h:8,
  303.                  from main.cpp:8:
  304. main.h:652:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  305.          str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
  306.                           ^
  307. main.h:652:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  308.          str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
  309.                                                                         ^
  310. main.h:942:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  311.              printf(" entropybit=%"PRI64d"\n", hashSig.Get64());
  312.                     ^
  313. main.h:1078:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  314.          printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
  315.                 ^
  316. main.h:1341:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  317.          return strprintf("CBlockIndex(nprev=%p, pnext=%p, nFile=%u, nBlockPos=%-6d nHeight=%d, nMint=%s, nMoneySupply=%s, nFlags=(%s)(%d)(%s), nStakeModifier=%016"PRI64x", nStakeModifierChecksum=%08x, hashProofOfStake=%s, prevoutStake=(%s), nStakeTime=%d merkle=%s, hashBlock=%s)",
  318.                           ^
  319. main.cpp:218:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  320.          printf("ignoring large orphan tx (size: %"PRIszu", hash: %s)\n", pvMsg->size(), hash.ToString().substr(0,10).c_str());
  321.                 ^
  322. main.cpp:227:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  323.      printf("stored orphan tx %s (mapsz %"PRIszu")\n", hash.ToString().substr(0,10).c_str(),
  324.             ^
  325. main.cpp:647:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  326.              return error("CTxMemPool::accept() : not enough fees %s, %"PRI64d" < %"PRI64d,
  327.                           ^
  328. main.cpp:647:78: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  329.              return error("CTxMemPool::accept() : not enough fees %s, %"PRI64d" < %"PRI64d,
  330.                                                                               ^
  331. main.cpp:700:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  332.      printf("CTxMemPool::accept() : accepted %s (poolsz %"PRIszu")\n",
  333.             ^
  334. main.cpp:1062:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  335.              printf("GetProofOfStakeReward() : lower=%"PRI64d" upper=%"PRI64d" mid=%"PRI64d"\n", bnLowerBound.getuint64(), bnUpperBound.getuint64(), bnMidValue.getuint64());
  336.                     ^
  337. main.cpp:1062:61: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  338.              printf("GetProofOfStakeReward() : lower=%"PRI64d" upper=%"PRI64d" mid=%"PRI64d"\n", bnLowerBound.getuint64(), bnUpperBound.getuint64(), bnMidValue.getuint64());
  339.                                                              ^
  340. main.cpp:1062:77: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  341.              printf("GetProofOfStakeReward() : lower=%"PRI64d" upper=%"PRI64d" mid=%"PRI64d"\n", bnLowerBound.getuint64(), bnUpperBound.getuint64(), bnMidValue.getuint64());
  342.                                                                              ^
  343. main.cpp:1076:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  344.          printf("GetProofOfStakeReward(): create=%s nCoinAge=%"PRI64d" nBits=%d\n", FormatMoney(nSubsidy).c_str(), nCoinAge, nBits);
  345.                 ^
  346. main.cpp:1363:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  347.              return DoS(100, error("FetchInputs() : %s prevout.n out of range %d %"PRIszu" %"PRIszu" prev tx %s\n%s", GetHash().ToString().substr(0,10).c_str(), prevout.n, txPrev.vout.size(), txindex.vSpent.size(), prevout.hash.ToString().substr(0,10).c_str(), txPrev.ToString().c_str()));
  348.                                    ^
  349. main.cpp:1363:89: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  350.     return DoS(100, error("FetchInputs() : %s prevout.n out of range %d %"PRIszu" %"PRIszu" prev tx %s\n%s", GetHash().ToString().substr(0,10).c_str(), prevout.n, txPrev.vout.size(), txindex.vSpent.size(), prevout.hash.ToString().substr(0,10).c_str(), txPrev.ToString().c_str()));
  351.                                                                                 ^
  352.  
  353. main.cpp:1432:39: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  354.                  return DoS(100, error("ConnectInputs() : %s prevout.n out of range %d %"PRIszu" %"PRIszu" prev tx %s\n%s", GetHash().ToString().substr(0,10).c_str(), prevout.n, txPrev.vout.size(), txindex.vSpent.size(), prevout.hash.ToString().substr(0,10).c_str(), txPrev.ToString().c_str()));
  355.                                        ^
  356. main.cpp:1432:95: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  357.   return DoS(100, error("ConnectInputs() : %s prevout.n out of range %d %"PRIszu" %"PRIszu" prev tx %s\n%s", GetHash().ToString().substr(0,10).c_str(), prevout.n, txPrev.vout.size(), txindex.vSpent.size(), prevout.hash.ToString().substr(0,10).c_str(), txPrev.ToString().c_str()));
  358.                                                                                 ^
  359.  
  360. main.cpp:1697:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  361.          printf("ConnectBlock() : destroy=%s nFees=%"PRI64d"\n", FormatMoney(nFees).c_str(), nFees);
  362.                 ^
  363. main.cpp:1766:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  364.      printf("REORGANIZE: Disconnect %"PRIszu" blocks; %s..%s\n", vDisconnect.size(), pfork->GetBlockHash().ToString().substr(0,20).c_str(), pindexBest->GetBlockHash().ToString().substr(0,20).c_str());
  365.             ^
  366. main.cpp:1767:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  367.      printf("REORGANIZE: Connect %"PRIszu" blocks; %s..%s\n", vConnect.size(), pfork->GetBlockHash().ToString().substr(0,20).c_str(), pindexNew->GetBlockHash().ToString().substr(0,20).c_str());
  368.             ^
  369. main.cpp:1895:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  370.              printf("Postponing %"PRIszu" reconnects\n", vpindexSecondary.size());
  371.                     ^
  372. main.cpp:2010:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  373.              printf("coin age nValueIn=%"PRI64d" nTimeDiff=%d bnCentSecond=%s\n", nValueIn, nTime - txPrev.nTime, bnCentSecond.ToString().c_str());
  374.                     ^
  375. main.cpp:2038:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  376.          printf("block coin age total nCoinDays=%"PRI64d"\n", nCoinAge);
  377.                 ^
  378. main.cpp:2084:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  379.          return error("AddToBlockIndex() : Rejected by stake modifier checkpoint height=%d, modifier=0x%016"PRI64x, pindexNew->nHeight, nStakeModifier);
  380.                       ^
  381. main.cpp:2169:30: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  382.          return DoS(50, error("CheckBlock() : coinstake timestamp violation nTimeBlock=%"PRI64d" nTimeTx=%u", GetBlockTime(), vtx[1].nTime));
  383.                               ^
  384. main.cpp:2788:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  385.          printf("%d (%u,%u) %s  %08x  %s  mint %7s  tx %"PRIszu"",
  386.                 ^
  387. main.cpp:2873:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  388.      printf("Loaded %i blocks from external file in %"PRI64d"ms\n", nLoaded, GetTimeMillis() - nStart);
  389.             ^
  390. main.cpp:3008:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  391.          printf("received: %s (%"PRIszu" bytes)\n", strCommand.c_str(), vRecv.size());
  392.                 ^
  393. main.cpp:3169:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  394.              return error("message addr size() = %"PRIszu"", vAddr.size());
  395.                           ^
  396. main.cpp:3232:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  397.              return error("message inv size() = %"PRIszu"", vInv.size());
  398.                           ^
  399. main.cpp:3282:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  400.              return error("message getdata size() = %"PRIszu"", vInv.size());
  401.                           ^
  402. main.cpp:3286:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  403.              printf("received getdata (%"PRIszu" invsz)\n", vInv.size());
  404.                     ^
  405. main.cpp:3702:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  406.              printf("\n\nPROCESSMESSAGE SKIPPED %"PRIpdd" BYTES\n\n", pstart - vRecv.begin());
  407.                     ^
  408. main.cpp:4351:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  409.              printf("CreateNewBlock(): total size %"PRI64u"\n", nBlockSize);
  410.                     ^
  411. main.cpp:4542:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  412.          printf("Running curecoinMiner with %"PRIszu" transactions in block (%u bytes)\n", pblock->vtx.size(),
  413.                 ^
  414. main.cpp: In function ‘CBlock* CreateNewBlock(CWallet*, bool):
  415. main.cpp:4095:5: warning:template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  416.      auto_ptr<CBlock> pblock(new CBlock());
  417.      ^~~~~~~~
  418. In file included from /usr/include/c++/8/memory:80,
  419.                  from /usr/include/boost/config/no_tr1/memory.hpp:21,
  420.                  from /usr/include/boost/smart_ptr/shared_ptr.hpp:23,
  421.                  from /usr/include/boost/shared_ptr.hpp:17,
  422.                  from /usr/include/boost/date_time/time_clock.hpp:17,
  423.                  from /usr/include/boost/thread/thread_time.hpp:9,
  424.                  from /usr/include/boost/thread/lock_types.hpp:18,
  425.                  from /usr/include/boost/thread/pthread/thread_data.hpp:12,
  426.                  from /usr/include/boost/thread/thread_only.hpp:17,
  427.                  from /usr/include/boost/thread/thread.hpp:12,
  428.                  from /usr/include/boost/thread.hpp:13,
  429.                  from util.h:21,
  430.                  from alert.h:13,
  431.                  from main.cpp:6:
  432. /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
  433.    template<typename> class auto_ptr;
  434.                             ^~~~~~~~
  435. main.cpp: In function ‘void FormatHashBuffers(CBlock*, char*, char*, char*):
  436. main.cpp:4412:32: warning:void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct FormatHashBuffers(CBlock*, char*, char*, char*)::<unnamed>; use assignment or value-initialization instead [-Wclass-memaccess]
  437.      memset(&tmp, 0, sizeof(tmp));
  438.                                 ^
  439. main.cpp:4396:5: note:struct FormatHashBuffers(CBlock*, char*, char*, char*)::<unnamed>’ declared here
  440.      {
  441.      ^
  442. main.cpp: In function ‘void curecoinMiner(CWallet*, bool):
  443. main.cpp:4517:9: warning:template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  444.          auto_ptr<CBlock> pblock(CreateNewBlock(pwallet, fProofOfStake));
  445.          ^~~~~~~~
  446. In file included from /usr/include/c++/8/memory:80,
  447.                  from /usr/include/boost/config/no_tr1/memory.hpp:21,
  448.                  from /usr/include/boost/smart_ptr/shared_ptr.hpp:23,
  449.                  from /usr/include/boost/shared_ptr.hpp:17,
  450.                  from /usr/include/boost/date_time/time_clock.hpp:17,
  451.                  from /usr/include/boost/thread/thread_time.hpp:9,
  452.                  from /usr/include/boost/thread/lock_types.hpp:18,
  453.                  from /usr/include/boost/thread/pthread/thread_data.hpp:12,
  454.                  from /usr/include/boost/thread/thread_only.hpp:17,
  455.                  from /usr/include/boost/thread/thread.hpp:12,
  456.                  from /usr/include/boost/thread.hpp:13,
  457.                  from util.h:21,
  458.                  from alert.h:13,
  459.                  from main.cpp:6:
  460. /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
  461.    template<typename> class auto_ptr;
  462.                             ^~~~~~~~
  463. In file included from /usr/include/c++/8/vector:69,
  464.                  from uint256.h:12,
  465.                  from alert.h:12,
  466.                  from main.cpp:6:
  467. /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const CAddress&}; _Tp = CAddress; _Alloc = std::allocator<CAddress>]:
  468. /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<CAddress>::iterator{aka ‘__gnu_cxx::__normal_iterator<CAddress*, std::vector<CAddress> >} changed in GCC 7.1
  469.        vector<_Tp, _Alloc>::
  470.        ^~~~~~~~~~~~~~~~~~~
  471. In file included from /usr/include/c++/8/vector:64,
  472.                  from uint256.h:12,
  473.                  from alert.h:12,
  474.                  from main.cpp:6:
  475. /usr/include/c++/8/bits/stl_vector.h: In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = CAddress; _Alloc = std::allocator<CAddress>]:
  476. /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<CAddress*, std::vector<CAddress> >’ changed in GCC 7.1
  477.     _M_realloc_insert(end(), __x);
  478.     ^~~~~~~~~~~~~~~~~
  479. /usr/include/c++/8/bits/stl_vector.h: In member function ‘void CNode::PushAddress(const CAddress&):
  480. /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<CAddress*, std::vector<CAddress> >’ changed in GCC 7.1
  481.     _M_realloc_insert(end(), __x);
  482.     ^~~~~~~~~~~~~~~~~
  483. In file included from /usr/include/c++/8/bits/stl_algo.h:61,
  484.                  from /usr/include/c++/8/algorithm:62,
  485.                  from /usr/include/boost/smart_ptr/shared_ptr.hpp:39,
  486.                  from /usr/include/boost/shared_ptr.hpp:17,
  487.                  from /usr/include/boost/date_time/time_clock.hpp:17,
  488.                  from /usr/include/boost/thread/thread_time.hpp:9,
  489.                  from /usr/include/boost/thread/lock_types.hpp:18,
  490.                  from /usr/include/boost/thread/pthread/thread_data.hpp:12,
  491.                  from /usr/include/boost/thread/thread_only.hpp:17,
  492.                  from /usr/include/boost/thread/thread.hpp:12,
  493.                  from /usr/include/boost/thread.hpp:13,
  494.                  from util.h:21,
  495.                  from alert.h:13,
  496.                  from main.cpp:6:
  497. /usr/include/c++/8/bits/stl_heap.h: In function ‘void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare&) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, CTransaction*>*, std::vector<boost::tuples::tuple<double, double, CTransaction*> > >; _Distance = int; _Tp = boost::tuples::tuple<double, double, CTransaction*>; _Compare = __gnu_cxx::__ops::_Iter_comp_val<TxPriorityCompare>]:
  498. /usr/include/c++/8/bits/stl_heap.h:128:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, CTransaction*>*, std::vector<boost::tuples::tuple<double, double, CTransaction*> > >’ changed in GCC 7.1
  499.      __push_heap(_RandomAccessIterator __first,
  500.      ^~~~~~~~~~~
  501. In file included from /usr/include/c++/8/vector:69,
  502.                  from uint256.h:12,
  503.                  from alert.h:12,
  504.                  from main.cpp:6:
  505. /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {boost::tuples::tuple<double, double, CTransaction*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>}; _Tp = boost::tuples::tuple<double, double, CTransaction*>; _Alloc = std::allocator<boost::tuples::tuple<double, double, CTransaction*> >]:
  506. /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<boost::tuples::tuple<double, double, CTransaction*> >::iterator{aka ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, CTransaction*>*, std::vector<boost::tuples::tuple<double, double, CTransaction*> > >} changed in GCC 7.1
  507.        vector<_Tp, _Alloc>::
  508.        ^~~~~~~~~~~~~~~~~~~
  509. /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {boost::tuples::tuple<double, double, CTransaction*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>}; _Tp = boost::tuples::tuple<double, double, CTransaction*>; _Alloc = std::allocator<boost::tuples::tuple<double, double, CTransaction*> >]:
  510. /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, CTransaction*>*, std::vector<boost::tuples::tuple<double, double, CTransaction*> > >’ changed in GCC 7.1
  511.     _M_realloc_insert(end(), std::forward<_Args>(__args)...);
  512.     ^~~~~~~~~~~~~~~~~
  513. In file included from /usr/include/c++/8/bits/stl_algo.h:61,
  514.                  from /usr/include/c++/8/algorithm:62,
  515.                  from /usr/include/boost/smart_ptr/shared_ptr.hpp:39,
  516.                  from /usr/include/boost/shared_ptr.hpp:17,
  517.                  from /usr/include/boost/date_time/time_clock.hpp:17,
  518.                  from /usr/include/boost/thread/thread_time.hpp:9,
  519.                  from /usr/include/boost/thread/lock_types.hpp:18,
  520.                  from /usr/include/boost/thread/pthread/thread_data.hpp:12,
  521.                  from /usr/include/boost/thread/thread_only.hpp:17,
  522.                  from /usr/include/boost/thread/thread.hpp:12,
  523.                  from /usr/include/boost/thread.hpp:13,
  524.                  from util.h:21,
  525.                  from alert.h:13,
  526.                  from main.cpp:6:
  527. /usr/include/c++/8/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, CTransaction*>*, std::vector<boost::tuples::tuple<double, double, CTransaction*> > >; _Distance = int; _Tp = boost::tuples::tuple<double, double, CTransaction*>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<TxPriorityCompare>]:
  528. /usr/include/c++/8/bits/stl_heap.h:214:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, CTransaction*>*, std::vector<boost::tuples::tuple<double, double, CTransaction*> > >’ changed in GCC 7.1
  529.      __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
  530.      ^~~~~~~~~~~~~
  531. /usr/include/c++/8/bits/stl_heap.h: In function ‘void std::__make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare&) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, CTransaction*>*, std::vector<boost::tuples::tuple<double, double, CTransaction*> > >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<TxPriorityCompare>]:
  532. /usr/include/c++/8/bits/stl_heap.h:326:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, CTransaction*>*, std::vector<boost::tuples::tuple<double, double, CTransaction*> > >’ changed in GCC 7.1
  533.      __make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
  534.      ^~~~~~~~~~~
  535. /usr/include/c++/8/bits/stl_heap.h:326:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, CTransaction*>*, std::vector<boost::tuples::tuple<double, double, CTransaction*> > >’ changed in GCC 7.1
  536. In file included from /usr/include/c++/8/vector:63,
  537.                  from uint256.h:12,
  538.                  from alert.h:12,
  539.                  from main.cpp:6:
  540. /usr/include/c++/8/bits/stl_uninitialized.h: In static member function ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const CTxOut*, std::vector<CTxOut> >; _ForwardIterator = CTxOut*; bool _TrivialValueTypes = false]:
  541. /usr/include/c++/8/bits/stl_uninitialized.h:76:9: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const CTxOut*, std::vector<CTxOut> >’ changed in GCC 7.1
  542.          __uninit_copy(_InputIterator __first, _InputIterator __last,
  543.          ^~~~~~~~~~~~~
  544. /usr/include/c++/8/bits/stl_uninitialized.h:76:9: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const CTxOut*, std::vector<CTxOut> >’ changed in GCC 7.1
  545. /usr/include/c++/8/bits/stl_uninitialized.h: In member function ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = CTxOut; _Alloc = std::allocator<CTxOut>]:
  546. /usr/include/c++/8/bits/stl_uninitialized.h:134:15: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const CTxOut*, std::vector<CTxOut> >’ changed in GCC 7.1
  547.        return std::__uninitialized_copy<__is_trivial(_ValueType1)
  548.               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  549.             && __is_trivial(_ValueType2)
  550.             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  551.             && __assignable>::
  552.             ~~~~~~~~~~~~~~~~~~
  553.   __uninit_copy(__first, __last, __result);
  554.   ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
  555. In file included from /usr/include/c++/8/bits/stl_algo.h:61,
  556.                  from /usr/include/c++/8/algorithm:62,
  557.                  from /usr/include/boost/smart_ptr/shared_ptr.hpp:39,
  558.                  from /usr/include/boost/shared_ptr.hpp:17,
  559.                  from /usr/include/boost/date_time/time_clock.hpp:17,
  560.                  from /usr/include/boost/thread/thread_time.hpp:9,
  561.                  from /usr/include/boost/thread/lock_types.hpp:18,
  562.                  from /usr/include/boost/thread/pthread/thread_data.hpp:12,
  563.                  from /usr/include/boost/thread/thread_only.hpp:17,
  564.                  from /usr/include/boost/thread/thread.hpp:12,
  565.                  from /usr/include/boost/thread.hpp:13,
  566.                  from util.h:21,
  567.                  from alert.h:13,
  568.                  from main.cpp:6:
  569. /usr/include/c++/8/bits/stl_heap.h: In function ‘CBlock* CreateNewBlock(CWallet*, bool):
  570. /usr/include/c++/8/bits/stl_heap.h:397:23: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, CTransaction*>*, std::vector<boost::tuples::tuple<double, double, CTransaction*> > >’ changed in GCC 7.1
  571.        std::__make_heap(__first, __last, __cmp);
  572.        ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  573. /usr/include/c++/8/bits/stl_heap.h:397:23: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, CTransaction*>*, std::vector<boost::tuples::tuple<double, double, CTransaction*> > >’ changed in GCC 7.1
  574.        std::__make_heap(__first, __last, __cmp);
  575.        ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  576. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pi/curecoin/CurecoinSource/src -I/home/pi/curecoin/CurecoinSource/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/net.d -o obj/net.o net.cpp
  577. In file included from bignum.h:12,
  578.                  from main.h:8,
  579.                  from db.h:8,
  580.                  from net.cpp:7:
  581. util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  582.      return strprintf("%"PRI64d, n);
  583.                       ^
  584. In file included from main.h:10,
  585.                  from db.h:8,
  586.                  from net.cpp:7:
  587. net.h:323:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  588.              printf("askfor %s   %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
  589.                     ^
  590. In file included from db.h:8,
  591.                  from net.cpp:7:
  592. main.h:652:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  593.          str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
  594.                           ^
  595. main.h:652:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  596.          str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
  597.                                                                         ^
  598. main.h:942:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  599.              printf(" entropybit=%"PRI64d"\n", hashSig.Get64());
  600.                     ^
  601. main.h:1078:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  602.          printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
  603.                 ^
  604. main.h:1341:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  605.          return strprintf("CBlockIndex(nprev=%p, pnext=%p, nFile=%u, nBlockPos=%-6d nHeight=%d, nMint=%s, nMoneySupply=%s, nFlags=(%s)(%d)(%s), nStakeModifier=%016"PRI64x", nStakeModifierChecksum=%08x, hashProofOfStake=%s, prevoutStake=(%s), nStakeTime=%d merkle=%s, hashBlock=%s)",
  606.                           ^
  607. net.cpp:889:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  608.                              printf("socket recv flood control disconnect (%"PRIszu" bytes)\n", vRecv.size());
  609.                                     ^
  610. net.cpp:1234:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  611.      printf("Flushed %d addresses to peers.dat  %"PRI64d"ms\n",
  612.             ^
  613. net.cpp: In function ‘void ThreadMapPort2(void*):
  614. net.cpp:1037:68: error: invalid conversion from ‘int*’ to ‘unsigned char[-fpermissive]
  615.      devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
  616.                                                                     ^~~~~~
  617. net.cpp:1037:74: error: too few arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int, int, unsigned char, int*)
  618.      devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
  619.                                                                           ^
  620. In file included from net.cpp:20:
  621. /usr/include/miniupnpc/miniupnpc.h:63:1: note: declared here
  622.  upnpDiscover(int delay, const char * multicastif,
  623.  ^~~~~~~~~~~~
  624. make: *** [makefile.raspberrypi:149: obj/net.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement