Advertisement
Guest User

Untitled

a guest
Mar 19th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.52 KB | None | 0 0
  1. tr0j4n9@Super:~/Documents/craftcoin/src$ make -f makefile.unix
  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 -D_FILE_OFFSET_BITS=64 -I/home/tr0j4n9/Documents/craftcoin/src -I/home/tr0j4n9/Documents/craftcoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/home/tr0j4n9/Documents/craftcoin/src/leveldb/include -I/home/tr0j4n9/Documents/craftcoin/src/leveldb/helpers -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 bignum.h:12:0,
  5. from main.h:8,
  6. from checkpoints.cpp:10:
  7. util.h:242:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  8. return strprintf("%"PRI64d, n);
  9. ^
  10. In file included from main.h:10:0,
  11. from checkpoints.cpp:10:
  12. net.h:365:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  13. printf("askfor %s %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
  14. ^
  15. In file included from checkpoints.cpp:10:0:
  16. main.h:448:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  17. return strprintf("CTxOut(nValue=%"PRI64d".%08"PRI64d", scriptPubKey=%s)", nValue / COIN, nValue % COIN, scriptPubKey.ToString().substr(0,30).c_str());
  18. ^
  19. main.h:448:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  20. return strprintf("CTxOut(nValue=%"PRI64d".%08"PRI64d", scriptPubKey=%s)", nValue / COIN, nValue % COIN, scriptPubKey.ToString().substr(0,30).c_str());
  21. ^
  22. main.h:641:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  23. str += strprintf("CTransaction(hash=%s, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%u)\n",
  24. ^
  25. main.h:641:74: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  26. str += strprintf("CTransaction(hash=%s, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%u)\n",
  27. ^
  28. main.h:1485:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  29. printf("CBlock(hash=%s, input=%s, PoW=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu")\n",
  30. ^
  31. In file included from main.h:8:0,
  32. from checkpoints.cpp:10:
  33. bignum.h:51:24: error: invalid use of incomplete type ‘BIGNUM {aka struct bignum_st}’
  34. class CBigNum : public BIGNUM
  35. ^~~~~~
  36. In file included from /usr/include/openssl/bn.h:32:0,
  37. from bignum.h:10,
  38. from main.h:8,
  39. from checkpoints.cpp:10:
  40. /usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM {aka struct bignum_st}’
  41. typedef struct bignum_st BIGNUM;
  42. ^~~~~~~~~
  43. In file included from main.h:8:0,
  44. from checkpoints.cpp:10:
  45. bignum.h: In constructor ‘CBigNum::CBigNum()’:
  46. bignum.h:56:21: error: ‘BN_init’ was not declared in this scope
  47. BN_init(this);
  48. ^
  49. bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
  50. bignum.h:61:21: error: ‘BN_init’ was not declared in this scope
  51. BN_init(this);
  52. ^
  53. bignum.h:62:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
  54. if (!BN_copy(this, &b))
  55. ^
  56. bignum.h:64:31: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
  57. BN_clear_free(this);
  58. ^
  59. bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’:
  60. bignum.h:71:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
  61. if (!BN_copy(this, &b))
  62. ^
  63. bignum.h: In destructor ‘CBigNum::~CBigNum()’:
  64. bignum.h:78:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
  65. BN_clear_free(this);
  66. ^
  67. bignum.h: In constructor ‘CBigNum::CBigNum(signed char)’:
  68. bignum.h:82:47: error: ‘BN_init’ was not declared in this scope
  69. CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
  70. ^
  71. bignum.h: In constructor ‘CBigNum::CBigNum(short int)’:
  72. bignum.h:83:47: error: ‘BN_init’ was not declared in this scope
  73. CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
  74. ^
  75. bignum.h: In constructor ‘CBigNum::CBigNum(int)’:
  76. bignum.h:84:47: error: ‘BN_init’ was not declared in this scope
  77. CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
  78. ^
  79. bignum.h: In constructor ‘CBigNum::CBigNum(long int)’:
  80. bignum.h:85:47: error: ‘BN_init’ was not declared in this scope
  81. CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
  82. ^
  83. bignum.h: In constructor ‘CBigNum::CBigNum(int64)’:
  84. bignum.h:86:47: error: ‘BN_init’ was not declared in this scope
  85. CBigNum(int64 n) { BN_init(this); setint64(n); }
  86. ^
  87. bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’:
  88. bignum.h:87:47: error: ‘BN_init’ was not declared in this scope
  89. CBigNum(unsigned char n) { BN_init(this); setulong(n); }
  90. ^
  91. bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int)’:
  92. bignum.h:88:47: error: ‘BN_init’ was not declared in this scope
  93. CBigNum(unsigned short n) { BN_init(this); setulong(n); }
  94. ^
  95. bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int)’:
  96. bignum.h:89:47: error: ‘BN_init’ was not declared in this scope
  97. CBigNum(unsigned int n) { BN_init(this); setulong(n); }
  98. ^
  99. bignum.h: In constructor ‘CBigNum::CBigNum(long unsigned int)’:
  100. bignum.h:90:47: error: ‘BN_init’ was not declared in this scope
  101. CBigNum(unsigned long n) { BN_init(this); setulong(n); }
  102. ^
  103. bignum.h: In constructor ‘CBigNum::CBigNum(uint64)’:
  104. bignum.h:91:47: error: ‘BN_init’ was not declared in this scope
  105. CBigNum(uint64 n) { BN_init(this); setuint64(n); }
  106. ^
  107. bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’:
  108. bignum.h:92:47: error: ‘BN_init’ was not declared in this scope
  109. explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
  110. ^
  111. bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector<unsigned char>&)’:
  112. bignum.h:96:21: error: ‘BN_init’ was not declared in this scope
  113. BN_init(this);
  114. ^
  115. bignum.h: In member function ‘void CBigNum::setulong(long unsigned int)’:
  116. bignum.h:102:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
  117. if (!BN_set_word(this, n))
  118. ^
  119. bignum.h: In member function ‘long unsigned int CBigNum::getulong() const’:
  120. bignum.h:108:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
  121. return BN_get_word(this);
  122. ^
  123. bignum.h: In member function ‘unsigned int CBigNum::getuint() const’:
  124. bignum.h:113:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
  125. return BN_get_word(this);
  126. ^
  127. bignum.h: In member function ‘int CBigNum::getint() const’:
  128. bignum.h:118:43: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
  129. unsigned long n = BN_get_word(this);
  130. ^
  131. bignum.h:119:33: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
  132. if (!BN_is_negative(this))
  133. ^
  134. In file included from main.h:8:0,
  135. from checkpoints.cpp:10:
  136. bignum.h: In member function ‘void CBigNum::setint64(int64)’:
  137. bignum.h:167:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
  138. BN_mpi2bn(pch, p - pch, this);
  139. ^
  140. bignum.h: In member function ‘void CBigNum::setuint64(uint64)’:
  141. bignum.h:194:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
  142. BN_mpi2bn(pch, p - pch, this);
  143. ^
  144. bignum.h: In member function ‘void CBigNum::setuint256(uint256)’:
  145. bignum.h:222:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
  146. BN_mpi2bn(pch, p - pch, this);
  147. ^
  148. bignum.h: In member function ‘uint256 CBigNum::getuint256() const’:
  149. bignum.h:227:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
  150. unsigned int nSize = BN_bn2mpi(this, NULL);
  151. ^
  152. bignum.h:231:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
  153. BN_bn2mpi(this, &vch[0]);
  154. ^
  155. bignum.h: In member function ‘void CBigNum::setvch(const std::vector<unsigned char>&)’:
  156. bignum.h:252:46: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
  157. BN_mpi2bn(&vch2[0], vch2.size(), this);
  158. ^
  159. bignum.h: In member function ‘std::vector<unsigned char> CBigNum::getvch() const’:
  160. bignum.h:257:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
  161. unsigned int nSize = BN_bn2mpi(this, NULL);
  162. ^
  163. bignum.h:261:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
  164. BN_bn2mpi(this, &vch[0]);
  165. ^
  166. bignum.h: In member function ‘CBigNum& CBigNum::SetCompact(unsigned int)’:
  167. bignum.h:297:36: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
  168. BN_set_word(this, nWord);
  169. ^
  170. bignum.h:301:36: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
  171. BN_set_word(this, nWord);
  172. ^
  173. bignum.h:302:46: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
  174. BN_lshift(this, this, 8*(nSize-3));
  175. ^
  176. bignum.h:304:40: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_set_negative(BIGNUM*, int)’
  177. BN_set_negative(this, fNegative);
  178. ^
  179. In file included from bignum.h:10:0,
  180. from main.h:8,
  181. from checkpoints.cpp:10:
  182. bignum.h: In member function ‘unsigned int CBigNum::GetCompact() const’:
  183. bignum.h:310:30: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_num_bits(const BIGNUM*)’
  184. unsigned int nSize = BN_num_bytes(this);
  185. ^
  186. In file included from main.h:8:0,
  187. from checkpoints.cpp:10:
  188. bignum.h:313:40: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
  189. nCompact = BN_get_word(this) << 8*(3-nSize);
  190. ^
  191. bignum.h:317:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)’
  192. BN_rshift(&bn, this, 8*(nSize-3));
  193. ^
  194. bignum.h:318:39: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
  195. nCompact = BN_get_word(&bn);
  196. ^
  197. bignum.h:328:41: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
  198. nCompact |= (BN_is_negative(this) ? 0x00800000 : 0);
  199. ^
  200. In file included from main.h:8:0,
  201. from checkpoints.cpp:10:
  202. bignum.h: In member function ‘std::__cxx11::string CBigNum::ToString(int) const’:
  203. bignum.h:369:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_set_negative(BIGNUM*, int)’
  204. BN_set_negative(&bn, false);
  205. ^
  206. bignum.h:372:29: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  207. if (BN_cmp(&bn, &bn0) == 0)
  208. ^
  209. bignum.h:374:32: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  210. while (BN_cmp(&bn, &bn0) > 0)
  211. ^
  212. bignum.h:376:54: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
  213. if (!BN_div(&dv, &rem, &bn, &bnBase, pctx))
  214. ^
  215. bignum.h:382:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
  216. if (BN_is_negative(this))
  217. ^
  218. bignum.h: In member function ‘bool CBigNum::operator!() const’:
  219. bignum.h:415:31: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_zero(const BIGNUM*)’
  220. return BN_is_zero(this);
  221. ^
  222. bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&)’:
  223. bignum.h:420:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
  224. if (!BN_add(this, this, &b))
  225. ^
  226. bignum.h: In member function ‘CBigNum& CBigNum::operator*=(const CBigNum&)’:
  227. bignum.h:434:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
  228. if (!BN_mul(this, this, &b, pctx))
  229. ^
  230. bignum.h: In member function ‘CBigNum& CBigNum::operator<<=(unsigned int)’:
  231. bignum.h:453:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
  232. if (!BN_lshift(this, this, shift))
  233. ^
  234. bignum.h: In member function ‘CBigNum& CBigNum::operator>>=(unsigned int)’:
  235. bignum.h:464:28: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  236. if (BN_cmp(&a, this) > 0)
  237. ^
  238. bignum.h:470:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)’
  239. if (!BN_rshift(this, this, shift))
  240. ^
  241. bignum.h: In member function ‘CBigNum& CBigNum::operator++()’:
  242. bignum.h:479:47: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
  243. if (!BN_add(this, this, BN_value_one()))
  244. ^
  245. bignum.h: In member function ‘CBigNum& CBigNum::operator--()’:
  246. bignum.h:496:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)’
  247. if (!BN_sub(&r, this, BN_value_one()))
  248. ^
  249. bignum.h: In function ‘const CBigNum operator+(const CBigNum&, const CBigNum&)’:
  250. bignum.h:521:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
  251. if (!BN_add(&r, &a, &b))
  252. ^
  253. bignum.h: In function ‘const CBigNum operator-(const CBigNum&, const CBigNum&)’:
  254. bignum.h:529:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)’
  255. if (!BN_sub(&r, &a, &b))
  256. ^
  257. bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’:
  258. bignum.h:537:43: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
  259. BN_set_negative(&r, !BN_is_negative(&r));
  260. ^
  261. bignum.h: In function ‘const CBigNum operator*(const CBigNum&, const CBigNum&)’:
  262. bignum.h:545:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
  263. if (!BN_mul(&r, &a, &b, pctx))
  264. ^
  265. bignum.h: In function ‘const CBigNum operator/(const CBigNum&, const CBigNum&)’:
  266. bignum.h:554:39: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
  267. if (!BN_div(&r, NULL, &a, &b, pctx))
  268. ^
  269. In file included from bignum.h:10:0,
  270. from main.h:8,
  271. from checkpoints.cpp:10:
  272. bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&)’:
  273. bignum.h:563:10: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘2’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
  274. if (!BN_mod(&r, &a, &b, pctx))
  275. ^
  276. In file included from main.h:8:0,
  277. from checkpoints.cpp:10:
  278. bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int)’:
  279. bignum.h:571:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
  280. if (!BN_lshift(&r, &a, shift))
  281. ^
  282. bignum.h: In function ‘bool operator==(const CBigNum&, const CBigNum&)’:
  283. bignum.h:583:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  284. inline bool operator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); }
  285. ^
  286. bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&)’:
  287. bignum.h:584:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  288. inline bool operator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); }
  289. ^
  290. bignum.h: In function ‘bool operator<=(const CBigNum&, const CBigNum&)’:
  291. bignum.h:585:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  292. inline bool operator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); }
  293. ^
  294. bignum.h: In function ‘bool operator>=(const CBigNum&, const CBigNum&)’:
  295. bignum.h:586:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  296. inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); }
  297. ^
  298. bignum.h: In function ‘bool operator<(const CBigNum&, const CBigNum&)’:
  299. bignum.h:587:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  300. inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); }
  301. ^
  302. bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
  303. bignum.h:588:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
  304. inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); }
  305. ^
  306. makefile.unix:173: recipe for target 'obj/checkpoints.o' failed
  307. make: *** [obj/checkpoints.o] Error 1
  308. tr0j4n9@Super:~/Documents/craftcoin/src$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement