Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 22.22 KB | None | 0 0
  1. /bin/sh ../share/genbuild.sh obj/build.h
  2. fatal: Not a git repository (or any of the parent directories): .git
  3. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/Escritorio/eggcoin/src -I/root/Escritorio/eggcoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/root/Escritorio/eggcoin/src/leveldb/include -I/root/Escritorio/eggcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
  4. In file included from main.h:8:0,
  5.                  from checkpoints.cpp:10:
  6. bignum.h:51:24: error: invalid use of incomplete type ‘BIGNUM {aka struct bignum_st}
  7.  class CBigNum : public BIGNUM
  8.                         ^~~~~~
  9. In file included from /usr/include/openssl/bn.h:32:0,
  10.                  from bignum.h:10,
  11.                  from main.h:8,
  12.                  from checkpoints.cpp:10:
  13. /usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM {aka struct bignum_st}
  14.  typedef struct bignum_st BIGNUM;
  15.                 ^~~~~~~~~
  16. In file included from main.h:8:0,
  17.                  from checkpoints.cpp:10:
  18. bignum.h: In constructor ‘CBigNum::CBigNum():
  19. bignum.h:56:21: error: ‘BN_init’ was not declared in this scope
  20.          BN_init(this);
  21.                      ^
  22. bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&):
  23. bignum.h:61:21: error: ‘BN_init’ was not declared in this scope
  24.          BN_init(this);
  25.                      ^
  26. bignum.h:62:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)
  27.          if (!BN_copy(this, &b))
  28.                               ^
  29. bignum.h:64:31: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)
  30.              BN_clear_free(this);
  31.                                ^
  32. bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&):
  33. bignum.h:71:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)
  34.          if (!BN_copy(this, &b))
  35.                               ^
  36. bignum.h: In destructor ‘CBigNum::~CBigNum():
  37. bignum.h:78:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)
  38.          BN_clear_free(this);
  39.                            ^
  40. bignum.h: In constructor ‘CBigNum::CBigNum(signed char):
  41. bignum.h:82:47: error: ‘BN_init’ was not declared in this scope
  42.      CBigNum(signed char n)      { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
  43.                                                ^
  44. bignum.h: In constructor ‘CBigNum::CBigNum(short int):
  45. bignum.h:83:47: error: ‘BN_init’ was not declared in this scope
  46.      CBigNum(short n)            { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
  47.                                                ^
  48. bignum.h: In constructor ‘CBigNum::CBigNum(int):
  49. bignum.h:84:47: error: ‘BN_init’ was not declared in this scope
  50.      CBigNum(int n)              { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
  51.                                                ^
  52. bignum.h: In constructor ‘CBigNum::CBigNum(long int):
  53. bignum.h:85:47: error: ‘BN_init’ was not declared in this scope
  54.      CBigNum(long n)             { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
  55.                                                ^
  56. bignum.h: In constructor ‘CBigNum::CBigNum(int64):
  57. bignum.h:86:47: error: ‘BN_init’ was not declared in this scope
  58.      CBigNum(int64 n)            { BN_init(this); setint64(n); }
  59.                                                ^
  60. bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char):
  61. bignum.h:87:47: error: ‘BN_init’ was not declared in this scope
  62.      CBigNum(unsigned char n)    { BN_init(this); setulong(n); }
  63.                                                ^
  64. bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int):
  65. bignum.h:88:47: error: ‘BN_init’ was not declared in this scope
  66.      CBigNum(unsigned short n)   { BN_init(this); setulong(n); }
  67.                                                ^
  68. bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int):
  69. bignum.h:89:47: error: ‘BN_init’ was not declared in this scope
  70.      CBigNum(unsigned int n)     { BN_init(this); setulong(n); }
  71.                                                ^
  72. bignum.h: In constructor ‘CBigNum::CBigNum(long unsigned int):
  73. bignum.h:90:47: error: ‘BN_init’ was not declared in this scope
  74.      CBigNum(unsigned long n)    { BN_init(this); setulong(n); }
  75.                                                ^
  76. bignum.h: In constructor ‘CBigNum::CBigNum(uint64):
  77. bignum.h:91:47: error: ‘BN_init’ was not declared in this scope
  78.      CBigNum(uint64 n)           { BN_init(this); setuint64(n); }
  79.                                                ^
  80. bignum.h: In constructor ‘CBigNum::CBigNum(uint256):
  81. bignum.h:92:47: error: ‘BN_init’ was not declared in this scope
  82.      explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
  83.                                                ^
  84. bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector<unsigned char>&):
  85. bignum.h:96:21: error: ‘BN_init’ was not declared in this scope
  86.          BN_init(this);
  87.                      ^
  88. bignum.h: In member function ‘void CBigNum::setulong(long unsigned int):
  89. 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)
  90.          if (!BN_set_word(this, n))
  91.                                  ^
  92. bignum.h: In member function ‘long unsigned int CBigNum::getulong() const:
  93. 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*)
  94.          return BN_get_word(this);
  95.                                 ^
  96. bignum.h: In member function ‘unsigned int CBigNum::getuint() const:
  97. 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*)
  98.          return BN_get_word(this);
  99.                                 ^
  100. bignum.h: In member function ‘int CBigNum::getint() const:
  101. 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*)
  102.          unsigned long n = BN_get_word(this);
  103.                                            ^
  104. 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*)
  105.          if (!BN_is_negative(this))
  106.                                  ^
  107. In file included from main.h:8:0,
  108.                  from checkpoints.cpp:10:
  109. bignum.h: In member function ‘void CBigNum::setint64(int64):
  110. 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*)
  111.          BN_mpi2bn(pch, p - pch, this);
  112.                                      ^
  113. bignum.h: In member function ‘void CBigNum::setuint64(uint64):
  114. 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*)
  115.          BN_mpi2bn(pch, p - pch, this);
  116.                                      ^
  117. bignum.h: In member function ‘void CBigNum::setuint256(uint256):
  118. 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*)
  119.          BN_mpi2bn(pch, p - pch, this);
  120.                                      ^
  121. bignum.h: In member function ‘uint256 CBigNum::getuint256() const:
  122. 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*)
  123.          unsigned int nSize = BN_bn2mpi(this, NULL);
  124.                                                   ^
  125. 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*)
  126.          BN_bn2mpi(this, &vch[0]);
  127.                                 ^
  128. bignum.h: In member function ‘void CBigNum::setvch(const std::vector<unsigned char>&):
  129. 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*)
  130.          BN_mpi2bn(&vch2[0], vch2.size(), this);
  131.                                               ^
  132. bignum.h: In member function ‘std::vector<unsigned char> CBigNum::getvch() const:
  133. 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*)
  134.          unsigned int nSize = BN_bn2mpi(this, NULL);
  135.                                                   ^
  136. 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*)
  137.          BN_bn2mpi(this, &vch[0]);
  138.                                 ^
  139. bignum.h: In member function ‘CBigNum& CBigNum::SetCompact(unsigned int):
  140. 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)
  141.              BN_set_word(this, nWord);
  142.                                     ^
  143. 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)
  144.              BN_set_word(this, nWord);
  145.                                     ^
  146. bignum.h:302:46: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)
  147.              BN_lshift(this, this, 8*(nSize-3));
  148.                                               ^
  149. bignum.h:304:40: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}for argument ‘1’ to ‘void BN_set_negative(BIGNUM*, int)
  150.          BN_set_negative(this, fNegative);
  151.                                         ^
  152. In file included from bignum.h:10:0,
  153.                  from main.h:8,
  154.                  from checkpoints.cpp:10:
  155. bignum.h: In member function ‘unsigned int CBigNum::GetCompact() const:
  156. 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*)
  157.          unsigned int nSize = BN_num_bytes(this);
  158.                               ^
  159. In file included from main.h:8:0,
  160.                  from checkpoints.cpp:10:
  161. 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*)
  162.              nCompact = BN_get_word(this) << 8*(3-nSize);
  163.                                         ^
  164. bignum.h:317:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}for argument ‘1’ to ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)
  165.              BN_rshift(&bn, this, 8*(nSize-3));
  166.                                              ^
  167. 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*)
  168.              nCompact = BN_get_word(&bn);
  169.                                        ^
  170. 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*)
  171.          nCompact |= (BN_is_negative(this) ? 0x00800000 : 0);
  172.                                          ^
  173. In file included from main.h:8:0,
  174.                  from checkpoints.cpp:10:
  175. bignum.h: In member function ‘std::__cxx11::string CBigNum::ToString(int) const:
  176. bignum.h:369:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}for argument ‘1’ to ‘void BN_set_negative(BIGNUM*, int)
  177.          BN_set_negative(&bn, false);
  178.                                    ^
  179. 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*)
  180.          if (BN_cmp(&bn, &bn0) == 0)
  181.                              ^
  182. 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*)
  183.          while (BN_cmp(&bn, &bn0) > 0)
  184.                                 ^
  185. 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*)
  186.              if (!BN_div(&dv, &rem, &bn, &bnBase, pctx))
  187.                                                       ^
  188. 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*)
  189.          if (BN_is_negative(this))
  190.                                 ^
  191. bignum.h: In member function ‘bool CBigNum::operator!() const:
  192. 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*)
  193.          return BN_is_zero(this);
  194.                                ^
  195. bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&):
  196. 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*)
  197.          if (!BN_add(this, this, &b))
  198.                                    ^
  199. bignum.h: In member function ‘CBigNum& CBigNum::operator*=(const CBigNum&):
  200. 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*)
  201.          if (!BN_mul(this, this, &b, pctx))
  202.                                          ^
  203. bignum.h: In member function ‘CBigNum& CBigNum::operator<<=(unsigned int):
  204. bignum.h:453:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)
  205.          if (!BN_lshift(this, this, shift))
  206.                                          ^
  207. bignum.h: In member function ‘CBigNum& CBigNum::operator>>=(unsigned int):
  208. 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*)
  209.          if (BN_cmp(&a, this) > 0)
  210.                             ^
  211. bignum.h:470:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}for argument ‘1’ to ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)
  212.          if (!BN_rshift(this, this, shift))
  213.                                          ^
  214. bignum.h: In member function ‘CBigNum& CBigNum::operator++():
  215. 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*)
  216.          if (!BN_add(this, this, BN_value_one()))
  217.                                                ^
  218. bignum.h: In member function ‘CBigNum& CBigNum::operator--():
  219. 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*)
  220.          if (!BN_sub(&r, this, BN_value_one()))
  221.                                              ^
  222. bignum.h: In function ‘const CBigNum operator+(const CBigNum&, const CBigNum&):
  223. 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*)
  224.      if (!BN_add(&r, &a, &b))
  225.                            ^
  226. bignum.h: In function ‘const CBigNum operator-(const CBigNum&, const CBigNum&):
  227. 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*)
  228.      if (!BN_sub(&r, &a, &b))
  229.                            ^
  230. bignum.h: In function ‘const CBigNum operator-(const CBigNum&):
  231. 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*)
  232.      BN_set_negative(&r, !BN_is_negative(&r));
  233.                                            ^
  234. bignum.h: In function ‘const CBigNum operator*(const CBigNum&, const CBigNum&):
  235. 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*)
  236.      if (!BN_mul(&r, &a, &b, pctx))
  237.                                  ^
  238. bignum.h: In function ‘const CBigNum operator/(const CBigNum&, const CBigNum&):
  239. 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*)
  240.      if (!BN_div(&r, NULL, &a, &b, pctx))
  241.                                        ^
  242. In file included from bignum.h:10:0,
  243.                  from main.h:8,
  244.                  from checkpoints.cpp:10:
  245. bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&):
  246. 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*)
  247.      if (!BN_mod(&r, &a, &b, pctx))
  248.           ^
  249. In file included from main.h:8:0,
  250.                  from checkpoints.cpp:10:
  251. bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int):
  252. bignum.h:571:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)
  253.      if (!BN_lshift(&r, &a, shift))
  254.                                  ^
  255. bignum.h: In function ‘bool operator==(const CBigNum&, const CBigNum&):
  256. 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*)
  257.  inline bool operator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); }
  258.                                                                                    ^
  259. bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&):
  260. 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*)
  261.  inline bool operator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); }
  262.                                                                                    ^
  263. bignum.h: In function ‘bool operator<=(const CBigNum&, const CBigNum&):
  264. 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*)
  265.  inline bool operator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); }
  266.                                                                                    ^
  267. bignum.h: In function ‘bool operator>=(const CBigNum&, const CBigNum&):
  268. 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*)
  269.  inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); }
  270.                                                                                    ^
  271. bignum.h: In function ‘bool operator<(const CBigNum&, const CBigNum&):
  272. 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*)
  273.  inline bool operator<(const CBigNum& a, const CBigNum& b)  { return (BN_cmp(&a, &b) < 0); }
  274.                                                                                    ^
  275. bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&):
  276. 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*)
  277.  inline bool operator>(const CBigNum& a, const CBigNum& b)  { return (BN_cmp(&a, &b) > 0); }
  278.                                                                                    ^
  279. checkpoints.cpp: At global scope:
  280. checkpoints.cpp:46:5: warning: missing initializer for member ‘Checkpoints::CCheckpointData::nTimeLastCheckpoint[-Wmissing-field-initializers]
  281.      };
  282.      ^
  283. checkpoints.cpp:46:5: warning: missing initializer for member ‘Checkpoints::CCheckpointData::nTransactionsLastCheckpoint[-Wmissing-field-initializers]
  284. checkpoints.cpp:46:5: warning: missing initializer for member ‘Checkpoints::CCheckpointData::fTransactionsPerDay[-Wmissing-field-initializers]
  285. checkpoints.cpp:57:5: warning: missing initializer for member ‘Checkpoints::CCheckpointData::nTimeLastCheckpoint[-Wmissing-field-initializers]
  286.      };
  287.      ^
  288. checkpoints.cpp:57:5: warning: missing initializer for member ‘Checkpoints::CCheckpointData::nTransactionsLastCheckpoint[-Wmissing-field-initializers]
  289. checkpoints.cpp:57:5: warning: missing initializer for member ‘Checkpoints::CCheckpointData::fTransactionsPerDay[-Wmissing-field-initializers]
  290. makefile.unix:186: fallo en las instrucciones para el objetivo 'obj/checkpoints.o'
  291. make: *** [obj/checkpoints.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement