Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi:~/curecoin/CurecoinSource/src $ make -f makefile.raspberrypi
- /bin/sh ../share/genbuild.sh obj/build.h
- 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
- In file included from addrman.h:9,
- from net.h:20,
- from checkpoints.h:8,
- from checkpoints.cpp:8:
- util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("%"PRI64d, n);
- ^
- In file included from checkpoints.h:8,
- from checkpoints.cpp:8:
- net.h:323:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("askfor %s %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
- ^
- In file included from db.h:8,
- from checkpoints.cpp:10:
- main.h:652:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
- ^
- main.h:652:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
- ^
- main.h:942:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf(" entropybit=%"PRI64d"\n", hashSig.Get64());
- ^
- main.h:1078:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
- ^
- main.h:1341:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- 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)",
- ^
- 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
- In file included from netbase.cpp:7:
- util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("%"PRI64d, n);
- ^
- 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
- In file included from addrman.h:9,
- from addrman.cpp:5:
- util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("%"PRI64d, n);
- ^
- In file included from /usr/include/c++/8/vector:69,
- from netbase.h:8,
- from addrman.h:7,
- from addrman.cpp:5:
- /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>]’:
- /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
- vector<_Tp, _Alloc>::
- ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/8/map:60,
- from serialize.h:10,
- from netbase.h:10,
- from addrman.h:7,
- from addrman.cpp:5:
- /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> >]’:
- /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
- _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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> >]’:
- /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
- _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/8/map:61,
- from serialize.h:10,
- from netbase.h:10,
- from addrman.h:7,
- from addrman.cpp:5:
- /usr/include/c++/8/bits/stl_map.h: In member function ‘void CAddrMan::SwapRandom(unsigned int, unsigned int)’:
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /usr/include/c++/8/bits/stl_map.h: In member function ‘void CAddrMan::GetAddr_(std::vector<CAddress>&)’:
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- In file included from /usr/include/c++/8/vector:64,
- from netbase.h:8,
- from addrman.h:7,
- from addrman.cpp:5:
- /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
- _M_realloc_insert(end(), __x);
- ^~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/8/map:61,
- from serialize.h:10,
- from netbase.h:10,
- from addrman.h:7,
- from addrman.cpp:5:
- /usr/include/c++/8/bits/stl_map.h: In member function ‘CAddress CAddrMan::Select_(int)’:
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /usr/include/c++/8/bits/stl_map.h: In member function ‘int CAddrMan::ShrinkNew(int)’:
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- In file included from /usr/include/c++/8/map:60,
- from serialize.h:10,
- from netbase.h:10,
- from addrman.h:7,
- from addrman.cpp:5:
- /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> >]’:
- /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
- _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/8/map:61,
- from serialize.h:10,
- from netbase.h:10,
- from addrman.h:7,
- from addrman.cpp:5:
- /usr/include/c++/8/bits/stl_map.h: In member function ‘int CAddrMan::SelectTried(int)’:
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /usr/include/c++/8/bits/stl_map.h: In member function ‘void CAddrMan::MakeTried(CAddrInfo&, int, int)’:
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /usr/include/c++/8/bits/stl_map.h: In member function ‘CAddrInfo* CAddrMan::Create(const CAddress&, const CNetAddr&, int*)’:
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- 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
- In file included from key.h:14,
- from crypter.h:8,
- from crypter.cpp:13:
- util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("%"PRI64d, n);
- ^
- 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
- In file included from key.h:14,
- from key.cpp:10:
- util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("%"PRI64d, n);
- ^
- 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
- In file included from bignum.h:12,
- from main.h:8,
- from db.h:8,
- from db.cpp:6:
- util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("%"PRI64d, n);
- ^
- In file included from main.h:10,
- from db.h:8,
- from db.cpp:6:
- net.h:323:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("askfor %s %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
- ^
- In file included from db.h:8,
- from db.cpp:6:
- main.h:652:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
- ^
- main.h:652:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
- ^
- main.h:942:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf(" entropybit=%"PRI64d"\n", hashSig.Get64());
- ^
- main.h:1078:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
- ^
- main.h:1341:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- 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)",
- ^
- db.cpp:465:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("DBFlush(%s)%s ended %15"PRI64d"ms\n", fShutdown ? "true" : "false", fDbEnvInit ? "" : " db not started", GetTimeMillis() - nStart);
- ^
- db.cpp:639:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return error("CTxDB::LoadBlockIndex() : Failed stake modifier checkpoint height=%d, modifier=0x%016"PRI64x, pindex->nHeight, pindex->nStakeModifier);
- ^
- In file included from /usr/include/c++/8/map:60,
- from util.h:17,
- from bignum.h:12,
- from main.h:8,
- from db.h:8,
- from db.cpp:6:
- /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> >]’:
- /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
- _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/8/map:61,
- from util.h:17,
- from bignum.h:12,
- from main.h:8,
- from db.h:8,
- from db.cpp:6:
- /usr/include/c++/8/bits/stl_map.h: In member function ‘void CAddrMan::Unserialize(Stream&, int, int) [with Stream = CDataStream]’:
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- /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
- __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
- 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
- In file included from bignum.h:12,
- from main.h:8,
- from db.h:8,
- from init.cpp:5:
- util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("%"PRI64d, n);
- ^
- In file included from main.h:10,
- from db.h:8,
- from init.cpp:5:
- net.h:323:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("askfor %s %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
- ^
- In file included from db.h:8,
- from init.cpp:5:
- main.h:652:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
- ^
- main.h:652:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
- ^
- main.h:942:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf(" entropybit=%"PRI64d"\n", hashSig.Get64());
- ^
- main.h:1078:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
- ^
- main.h:1341:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- 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)",
- ^
- init.cpp:698:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf(" block index %15"PRI64d"ms\n", GetTimeMillis() - nStart);
- ^
- init.cpp:800:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf(" wallet %15"PRI64d"ms\n", GetTimeMillis() - nStart);
- ^
- init.cpp:820:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf(" rescan %15"PRI64d"ms\n", GetTimeMillis() - nStart);
- ^
- init.cpp:861:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("Loaded %i addresses from peers.dat %"PRI64d"ms\n",
- ^
- init.cpp:872:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("mapBlockIndex.size() = %"PRIszu"\n", mapBlockIndex.size());
- ^
- init.cpp:874:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("setKeyPool.size() = %"PRIszu"\n", pwalletMain->setKeyPool.size());
- ^
- init.cpp:875:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("mapWallet.size() = %"PRIszu"\n", pwalletMain->mapWallet.size());
- ^
- init.cpp:876:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("mapAddressBook.size() = %"PRIszu"\n", pwalletMain->mapAddressBook.size());
- ^
- In file included from curecoinrpc.h:16,
- from init.cpp:7:
- json/json_spirit_writer_template.h: In function ‘String_type json_spirit::non_printable_to_string(unsigned int)’:
- json/json_spirit_writer_template.h:31:50: warning: typedef ‘Char_type’ locally defined but not used [-Wunused-local-typedefs]
- typedef typename String_type::value_type Char_type;
- ^~~~~~~~~
- 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
- In file included from addrman.h:9,
- from net.h:20,
- from irc.cpp:7:
- util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("%"PRI64d, n);
- ^
- In file included from irc.cpp:7:
- net.h:323:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("askfor %s %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
- ^
- irc.cpp:267:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- strMyName = strprintf("x%"PRI64u"", GetRand(1000000000));
- ^
- 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
- In file included from key.h:14,
- from crypter.h:8,
- from keystore.h:8,
- from keystore.cpp:6:
- util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("%"PRI64d, n);
- ^
- 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
- In file included from alert.h:13,
- from main.cpp:6:
- util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("%"PRI64d, n);
- ^
- In file included from checkpoints.h:8,
- from main.cpp:7:
- net.h:323:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("askfor %s %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
- ^
- In file included from db.h:8,
- from main.cpp:8:
- main.h:652:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
- ^
- main.h:652:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
- ^
- main.h:942:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf(" entropybit=%"PRI64d"\n", hashSig.Get64());
- ^
- main.h:1078:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
- ^
- main.h:1341:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- 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)",
- ^
- main.cpp:218:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("ignoring large orphan tx (size: %"PRIszu", hash: %s)\n", pvMsg->size(), hash.ToString().substr(0,10).c_str());
- ^
- main.cpp:227:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("stored orphan tx %s (mapsz %"PRIszu")\n", hash.ToString().substr(0,10).c_str(),
- ^
- main.cpp:647:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return error("CTxMemPool::accept() : not enough fees %s, %"PRI64d" < %"PRI64d,
- ^
- main.cpp:647:78: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return error("CTxMemPool::accept() : not enough fees %s, %"PRI64d" < %"PRI64d,
- ^
- main.cpp:700:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("CTxMemPool::accept() : accepted %s (poolsz %"PRIszu")\n",
- ^
- main.cpp:1062:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("GetProofOfStakeReward() : lower=%"PRI64d" upper=%"PRI64d" mid=%"PRI64d"\n", bnLowerBound.getuint64(), bnUpperBound.getuint64(), bnMidValue.getuint64());
- ^
- main.cpp:1062:61: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("GetProofOfStakeReward() : lower=%"PRI64d" upper=%"PRI64d" mid=%"PRI64d"\n", bnLowerBound.getuint64(), bnUpperBound.getuint64(), bnMidValue.getuint64());
- ^
- main.cpp:1062:77: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("GetProofOfStakeReward() : lower=%"PRI64d" upper=%"PRI64d" mid=%"PRI64d"\n", bnLowerBound.getuint64(), bnUpperBound.getuint64(), bnMidValue.getuint64());
- ^
- main.cpp:1076:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("GetProofOfStakeReward(): create=%s nCoinAge=%"PRI64d" nBits=%d\n", FormatMoney(nSubsidy).c_str(), nCoinAge, nBits);
- ^
- main.cpp:1363:35: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- 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()));
- ^
- main.cpp:1363:89: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- 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()));
- ^
- main.cpp:1432:39: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- 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()));
- ^
- main.cpp:1432:95: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- 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()));
- ^
- main.cpp:1697:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("ConnectBlock() : destroy=%s nFees=%"PRI64d"\n", FormatMoney(nFees).c_str(), nFees);
- ^
- main.cpp:1766:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- 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());
- ^
- main.cpp:1767:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- 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());
- ^
- main.cpp:1895:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("Postponing %"PRIszu" reconnects\n", vpindexSecondary.size());
- ^
- main.cpp:2010:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("coin age nValueIn=%"PRI64d" nTimeDiff=%d bnCentSecond=%s\n", nValueIn, nTime - txPrev.nTime, bnCentSecond.ToString().c_str());
- ^
- main.cpp:2038:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("block coin age total nCoinDays=%"PRI64d"\n", nCoinAge);
- ^
- main.cpp:2084:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return error("AddToBlockIndex() : Rejected by stake modifier checkpoint height=%d, modifier=0x%016"PRI64x, pindexNew->nHeight, nStakeModifier);
- ^
- main.cpp:2169:30: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return DoS(50, error("CheckBlock() : coinstake timestamp violation nTimeBlock=%"PRI64d" nTimeTx=%u", GetBlockTime(), vtx[1].nTime));
- ^
- main.cpp:2788:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("%d (%u,%u) %s %08x %s mint %7s tx %"PRIszu"",
- ^
- main.cpp:2873:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("Loaded %i blocks from external file in %"PRI64d"ms\n", nLoaded, GetTimeMillis() - nStart);
- ^
- main.cpp:3008:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("received: %s (%"PRIszu" bytes)\n", strCommand.c_str(), vRecv.size());
- ^
- main.cpp:3169:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return error("message addr size() = %"PRIszu"", vAddr.size());
- ^
- main.cpp:3232:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return error("message inv size() = %"PRIszu"", vInv.size());
- ^
- main.cpp:3282:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return error("message getdata size() = %"PRIszu"", vInv.size());
- ^
- main.cpp:3286:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("received getdata (%"PRIszu" invsz)\n", vInv.size());
- ^
- main.cpp:3702:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("\n\nPROCESSMESSAGE SKIPPED %"PRIpdd" BYTES\n\n", pstart - vRecv.begin());
- ^
- main.cpp:4351:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("CreateNewBlock(): total size %"PRI64u"\n", nBlockSize);
- ^
- main.cpp:4542:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("Running curecoinMiner with %"PRIszu" transactions in block (%u bytes)\n", pblock->vtx.size(),
- ^
- main.cpp: In function ‘CBlock* CreateNewBlock(CWallet*, bool)’:
- main.cpp:4095:5: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
- auto_ptr<CBlock> pblock(new CBlock());
- ^~~~~~~~
- In file included from /usr/include/c++/8/memory:80,
- from /usr/include/boost/config/no_tr1/memory.hpp:21,
- from /usr/include/boost/smart_ptr/shared_ptr.hpp:23,
- from /usr/include/boost/shared_ptr.hpp:17,
- from /usr/include/boost/date_time/time_clock.hpp:17,
- from /usr/include/boost/thread/thread_time.hpp:9,
- from /usr/include/boost/thread/lock_types.hpp:18,
- from /usr/include/boost/thread/pthread/thread_data.hpp:12,
- from /usr/include/boost/thread/thread_only.hpp:17,
- from /usr/include/boost/thread/thread.hpp:12,
- from /usr/include/boost/thread.hpp:13,
- from util.h:21,
- from alert.h:13,
- from main.cpp:6:
- /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
- template<typename> class auto_ptr;
- ^~~~~~~~
- main.cpp: In function ‘void FormatHashBuffers(CBlock*, char*, char*, char*)’:
- 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]
- memset(&tmp, 0, sizeof(tmp));
- ^
- main.cpp:4396:5: note: ‘struct FormatHashBuffers(CBlock*, char*, char*, char*)::<unnamed>’ declared here
- {
- ^
- main.cpp: In function ‘void curecoinMiner(CWallet*, bool)’:
- main.cpp:4517:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
- auto_ptr<CBlock> pblock(CreateNewBlock(pwallet, fProofOfStake));
- ^~~~~~~~
- In file included from /usr/include/c++/8/memory:80,
- from /usr/include/boost/config/no_tr1/memory.hpp:21,
- from /usr/include/boost/smart_ptr/shared_ptr.hpp:23,
- from /usr/include/boost/shared_ptr.hpp:17,
- from /usr/include/boost/date_time/time_clock.hpp:17,
- from /usr/include/boost/thread/thread_time.hpp:9,
- from /usr/include/boost/thread/lock_types.hpp:18,
- from /usr/include/boost/thread/pthread/thread_data.hpp:12,
- from /usr/include/boost/thread/thread_only.hpp:17,
- from /usr/include/boost/thread/thread.hpp:12,
- from /usr/include/boost/thread.hpp:13,
- from util.h:21,
- from alert.h:13,
- from main.cpp:6:
- /usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
- template<typename> class auto_ptr;
- ^~~~~~~~
- In file included from /usr/include/c++/8/vector:69,
- from uint256.h:12,
- from alert.h:12,
- from main.cpp:6:
- /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>]’:
- /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
- vector<_Tp, _Alloc>::
- ^~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/8/vector:64,
- from uint256.h:12,
- from alert.h:12,
- from main.cpp:6:
- /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>]’:
- /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
- _M_realloc_insert(end(), __x);
- ^~~~~~~~~~~~~~~~~
- /usr/include/c++/8/bits/stl_vector.h: In member function ‘void CNode::PushAddress(const CAddress&)’:
- /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
- _M_realloc_insert(end(), __x);
- ^~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/8/bits/stl_algo.h:61,
- from /usr/include/c++/8/algorithm:62,
- from /usr/include/boost/smart_ptr/shared_ptr.hpp:39,
- from /usr/include/boost/shared_ptr.hpp:17,
- from /usr/include/boost/date_time/time_clock.hpp:17,
- from /usr/include/boost/thread/thread_time.hpp:9,
- from /usr/include/boost/thread/lock_types.hpp:18,
- from /usr/include/boost/thread/pthread/thread_data.hpp:12,
- from /usr/include/boost/thread/thread_only.hpp:17,
- from /usr/include/boost/thread/thread.hpp:12,
- from /usr/include/boost/thread.hpp:13,
- from util.h:21,
- from alert.h:13,
- from main.cpp:6:
- /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>]’:
- /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
- __push_heap(_RandomAccessIterator __first,
- ^~~~~~~~~~~
- In file included from /usr/include/c++/8/vector:69,
- from uint256.h:12,
- from alert.h:12,
- from main.cpp:6:
- /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*> >]’:
- /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
- vector<_Tp, _Alloc>::
- ^~~~~~~~~~~~~~~~~~~
- /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*> >]’:
- /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
- _M_realloc_insert(end(), std::forward<_Args>(__args)...);
- ^~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/8/bits/stl_algo.h:61,
- from /usr/include/c++/8/algorithm:62,
- from /usr/include/boost/smart_ptr/shared_ptr.hpp:39,
- from /usr/include/boost/shared_ptr.hpp:17,
- from /usr/include/boost/date_time/time_clock.hpp:17,
- from /usr/include/boost/thread/thread_time.hpp:9,
- from /usr/include/boost/thread/lock_types.hpp:18,
- from /usr/include/boost/thread/pthread/thread_data.hpp:12,
- from /usr/include/boost/thread/thread_only.hpp:17,
- from /usr/include/boost/thread/thread.hpp:12,
- from /usr/include/boost/thread.hpp:13,
- from util.h:21,
- from alert.h:13,
- from main.cpp:6:
- /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>]’:
- /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
- __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
- ^~~~~~~~~~~~~
- /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>]’:
- /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
- __make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
- ^~~~~~~~~~~
- /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
- In file included from /usr/include/c++/8/vector:63,
- from uint256.h:12,
- from alert.h:12,
- from main.cpp:6:
- /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]’:
- /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
- __uninit_copy(_InputIterator __first, _InputIterator __last,
- ^~~~~~~~~~~~~
- /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
- /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>]’:
- /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
- return std::__uninitialized_copy<__is_trivial(_ValueType1)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- && __is_trivial(_ValueType2)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- && __assignable>::
- ~~~~~~~~~~~~~~~~~~
- __uninit_copy(__first, __last, __result);
- ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/8/bits/stl_algo.h:61,
- from /usr/include/c++/8/algorithm:62,
- from /usr/include/boost/smart_ptr/shared_ptr.hpp:39,
- from /usr/include/boost/shared_ptr.hpp:17,
- from /usr/include/boost/date_time/time_clock.hpp:17,
- from /usr/include/boost/thread/thread_time.hpp:9,
- from /usr/include/boost/thread/lock_types.hpp:18,
- from /usr/include/boost/thread/pthread/thread_data.hpp:12,
- from /usr/include/boost/thread/thread_only.hpp:17,
- from /usr/include/boost/thread/thread.hpp:12,
- from /usr/include/boost/thread.hpp:13,
- from util.h:21,
- from alert.h:13,
- from main.cpp:6:
- /usr/include/c++/8/bits/stl_heap.h: In function ‘CBlock* CreateNewBlock(CWallet*, bool)’:
- /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
- std::__make_heap(__first, __last, __cmp);
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- /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
- std::__make_heap(__first, __last, __cmp);
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
- 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
- In file included from bignum.h:12,
- from main.h:8,
- from db.h:8,
- from net.cpp:7:
- util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- return strprintf("%"PRI64d, n);
- ^
- In file included from main.h:10,
- from db.h:8,
- from net.cpp:7:
- net.h:323:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("askfor %s %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
- ^
- In file included from db.h:8,
- from net.cpp:7:
- main.h:652:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
- ^
- main.h:652:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d, strTxComment=%s)\n",
- ^
- main.h:942:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf(" entropybit=%"PRI64d"\n", hashSig.Get64());
- ^
- main.h:1078:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
- ^
- main.h:1341:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- 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)",
- ^
- net.cpp:889:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("socket recv flood control disconnect (%"PRIszu" bytes)\n", vRecv.size());
- ^
- net.cpp:1234:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
- printf("Flushed %d addresses to peers.dat %"PRI64d"ms\n",
- ^
- net.cpp: In function ‘void ThreadMapPort2(void*)’:
- net.cpp:1037:68: error: invalid conversion from ‘int*’ to ‘unsigned char’ [-fpermissive]
- devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
- ^~~~~~
- net.cpp:1037:74: error: too few arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int, int, unsigned char, int*)’
- devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
- ^
- In file included from net.cpp:20:
- /usr/include/miniupnpc/miniupnpc.h:63:1: note: declared here
- upnpDiscover(int delay, const char * multicastif,
- ^~~~~~~~~~~~
- make: *** [makefile.raspberrypi:149: obj/net.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement