Guest User

bitcoin compile error: ‘SIZE_MAX’ was not declared

a guest
Jul 27th, 2015
270
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. chain.h:261: warning: comparison between signed and unsigned integer expressions
  2. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  3. chain.h:271: warning: comparison between signed and unsigned integer expressions
  4. CXX libbitcoin_server_a-addrman.o
  5. CXX libbitcoin_server_a-alert.o
  6. CXX libbitcoin_server_a-bloom.o
  7. CXX libbitcoin_server_a-chain.o
  8. In file included from chain.cpp:6:
  9. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  10. chain.h:261: warning: comparison between signed and unsigned integer expressions
  11. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  12. chain.h:271: warning: comparison between signed and unsigned integer expressions
  13. CXX libbitcoin_server_a-checkpoints.o
  14. In file included from main.h:14,
  15. from checkpoints.cpp:8:
  16. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  17. chain.h:261: warning: comparison between signed and unsigned integer expressions
  18. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  19. chain.h:271: warning: comparison between signed and unsigned integer expressions
  20. CXX libbitcoin_server_a-init.o
  21. In file included from main.h:14,
  22. from init.cpp:17:
  23. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  24. chain.h:261: warning: comparison between signed and unsigned integer expressions
  25. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  26. chain.h:271: warning: comparison between signed and unsigned integer expressions
  27. CXX libbitcoin_server_a-leveldbwrapper.o
  28. CXX libbitcoin_server_a-main.o
  29. In file included from main.h:14,
  30. from main.cpp:6:
  31. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  32. chain.h:261: warning: comparison between signed and unsigned integer expressions
  33. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  34. chain.h:271: warning: comparison between signed and unsigned integer expressions
  35. In file included from /home/bitcoind/bitcoind/deps/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
  36. from /home/bitcoind/bitcoind/deps/include/boost/signals2/preprocessed_signal.hpp:28,
  37. from /home/bitcoind/bitcoind/deps/include/boost/signals2/signal.hpp:36,
  38. from net.h:31,
  39. from main.h:19,
  40. from main.cpp:6:
  41. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp: In member function ‘boost::signals2::connection boost::signals2::detail::signal1_impl<R, T1, Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::nolock_connect(const boost::signals2::slot1<R, T1, SlotFunction>&, boost::signals2::connect_position) [with R = void, T1 = int, Combiner = boost::signals2::optional_last_value<void>, Group = int, GroupCompare = std::less<int>, SlotFunction = boost::function<void(NodeId)>, ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, int)>, Mutex = boost::signals2::mutex]’:
  42. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66437’ does break strict-aliasing rules
  43. cc1plus: note: initialized from here
  44. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66437’ does break strict-aliasing rules
  45. cc1plus: note: initialized from here
  46. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:433: warning: dereferencing pointer ‘pretmp.66437’ does break strict-aliasing rules
  47. cc1plus: note: initialized from here
  48. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66437’ does break strict-aliasing rules
  49. cc1plus: note: initialized from here
  50. In file included from /home/bitcoind/bitcoind/deps/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:47,
  51. from /home/bitcoind/bitcoind/deps/include/boost/signals2/preprocessed_signal.hpp:28,
  52. from /home/bitcoind/bitcoind/deps/include/boost/signals2/signal.hpp:36,
  53. from net.h:31,
  54. from main.h:19,
  55. from main.cpp:6:
  56. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp: In member function ‘boost::signals2::connection boost::signals2::detail::signal0_impl<R, Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::nolock_connect(const boost::signals2::slot0<R, SlotFunction>&, boost::signals2::connect_position) [with R = int, Combiner = boost::signals2::optional_last_value<int>, Group = int, GroupCompare = std::less<int>, SlotFunction = boost::function<int()>, ExtendedSlotFunction = boost::function<int(const boost::signals2::connection&)>, Mutex = boost::signals2::mutex]’:
  57. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66539’ does break strict-aliasing rules
  58. cc1plus: note: initialized from here
  59. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66539’ does break strict-aliasing rules
  60. cc1plus: note: initialized from here
  61. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:433: warning: dereferencing pointer ‘pretmp.66539’ does break strict-aliasing rules
  62. cc1plus: note: initialized from here
  63. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66539’ does break strict-aliasing rules
  64. cc1plus: note: initialized from here
  65. In file included from /home/bitcoind/bitcoind/deps/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:57,
  66. from /home/bitcoind/bitcoind/deps/include/boost/signals2/preprocessed_signal.hpp:28,
  67. from /home/bitcoind/bitcoind/deps/include/boost/signals2/signal.hpp:36,
  68. from net.h:31,
  69. from main.h:19,
  70. from main.cpp:6:
  71. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp: In member function ‘boost::signals2::connection boost::signals2::detail::signal2_impl<R, T1, T2, Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::nolock_connect(const boost::signals2::slot2<R, T1, T2, SlotFunction>&, boost::signals2::connect_position) [with R = void, T1 = int, T2 = const CNode*, Combiner = boost::signals2::optional_last_value<void>, Group = int, GroupCompare = std::less<int>, SlotFunction = boost::function<void(NodeId, const CNode*)>, ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, int, const CNode*)>, Mutex = boost::signals2::mutex]’:
  72. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66641’ does break strict-aliasing rules
  73. cc1plus: note: initialized from here
  74. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66641’ does break strict-aliasing rules
  75. cc1plus: note: initialized from here
  76. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:433: warning: dereferencing pointer ‘pretmp.66641’ does break strict-aliasing rules
  77. cc1plus: note: initialized from here
  78. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66641’ does break strict-aliasing rules
  79. cc1plus: note: initialized from here
  80. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp: In member function ‘boost::signals2::connection boost::signals2::detail::signal2_impl<R, T1, T2, Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::nolock_connect(const boost::signals2::slot2<R, T1, T2, SlotFunction>&, boost::signals2::connect_position) [with R = bool, T1 = CNode*, T2 = bool, Combiner = boost::signals2::optional_last_value<bool>, Group = int, GroupCompare = std::less<int>, SlotFunction = boost::function<bool(CNode*, bool)>, ExtendedSlotFunction = boost::function<bool(const boost::signals2::connection&, CNode*, bool)>, Mutex = boost::signals2::mutex]’:
  81. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66743’ does break strict-aliasing rules
  82. cc1plus: note: initialized from here
  83. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66743’ does break strict-aliasing rules
  84. cc1plus: note: initialized from here
  85. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:433: warning: dereferencing pointer ‘pretmp.66743’ does break strict-aliasing rules
  86. cc1plus: note: initialized from here
  87. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66743’ does break strict-aliasing rules
  88. cc1plus: note: initialized from here
  89. In file included from /home/bitcoind/bitcoind/deps/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
  90. from /home/bitcoind/bitcoind/deps/include/boost/signals2/preprocessed_signal.hpp:28,
  91. from /home/bitcoind/bitcoind/deps/include/boost/signals2/signal.hpp:36,
  92. from net.h:31,
  93. from main.h:19,
  94. from main.cpp:6:
  95. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp: In member function ‘boost::signals2::connection boost::signals2::detail::signal1_impl<R, T1, Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::nolock_connect(const boost::signals2::slot1<R, T1, SlotFunction>&, boost::signals2::connect_position) [with R = bool, T1 = CNode*, Combiner = boost::signals2::optional_last_value<bool>, Group = int, GroupCompare = std::less<int>, SlotFunction = boost::function<bool(CNode*)>, ExtendedSlotFunction = boost::function<bool(const boost::signals2::connection&, CNode*)>, Mutex = boost::signals2::mutex]’:
  96. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66846’ does break strict-aliasing rules
  97. cc1plus: note: initialized from here
  98. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66846’ does break strict-aliasing rules
  99. cc1plus: note: initialized from here
  100. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:433: warning: dereferencing pointer ‘pretmp.66846’ does break strict-aliasing rules
  101. cc1plus: note: initialized from here
  102. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66846’ does break strict-aliasing rules
  103. cc1plus: note: initialized from here
  104. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp: In member function ‘boost::signals2::connection boost::signals2::signal1<R, T1, Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::connect(const typename boost::signals2::detail::signal1_impl<R, T1, Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::slot_type&, boost::signals2::connect_position) [with R = void, T1 = const uint256&, Combiner = boost::signals2::optional_last_value<void>, Group = int, GroupCompare = std::less<int>, SlotFunction = boost::function<void(const uint256&)>, ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, const uint256&)>, Mutex = boost::signals2::mutex]’:
  105. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66984’ does break strict-aliasing rules
  106. cc1plus: note: initialized from here
  107. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66984’ does break strict-aliasing rules
  108. cc1plus: note: initialized from here
  109. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:433: warning: dereferencing pointer ‘pretmp.66984’ does break strict-aliasing rules
  110. cc1plus: note: initialized from here
  111. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.66984’ does break strict-aliasing rules
  112. cc1plus: note: initialized from here
  113. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp: In function ‘void RegisterValidationInterface(CValidationInterface*)’:
  114. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.67078’ does break strict-aliasing rules
  115. cc1plus: note: initialized from here
  116. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:433: warning: dereferencing pointer ‘pretmp.67078’ does break strict-aliasing rules
  117. cc1plus: note: initialized from here
  118. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.67078’ does break strict-aliasing rules
  119. cc1plus: note: initialized from here
  120. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.67078’ does break strict-aliasing rules
  121. cc1plus: note: initialized from here
  122. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:433: warning: dereferencing pointer ‘pretmp.67078’ does break strict-aliasing rules
  123. cc1plus: note: initialized from here
  124. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.67078’ does break strict-aliasing rules
  125. cc1plus: note: initialized from here
  126. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.67078’ does break strict-aliasing rules
  127. cc1plus: note: initialized from here
  128. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:433: warning: dereferencing pointer ‘pretmp.67078’ does break strict-aliasing rules
  129. cc1plus: note: initialized from here
  130. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.67078’ does break strict-aliasing rules
  131. cc1plus: note: initialized from here
  132. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.67078’ does break strict-aliasing rules
  133. cc1plus: note: initialized from here
  134. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:433: warning: dereferencing pointer ‘pretmp.67078’ does break strict-aliasing rules
  135. cc1plus: note: initialized from here
  136. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.67078’ does break strict-aliasing rules
  137. cc1plus: note: initialized from here
  138. CXX libbitcoin_server_a-merkleblock.o
  139. CXX libbitcoin_server_a-miner.o
  140. In file included from main.h:14,
  141. from miner.cpp:12:
  142. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  143. chain.h:261: warning: comparison between signed and unsigned integer expressions
  144. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  145. chain.h:271: warning: comparison between signed and unsigned integer expressions
  146. CXX libbitcoin_server_a-net.o
  147. net.cpp: In function ‘bool BindListenPort(const CService&, std::string&, bool)’:
  148. net.cpp:1506: warning: dereferencing pointer ‘sockaddr.1089’ does break strict-aliasing rules
  149. net.cpp:1506: note: initialized from here
  150. CXX libbitcoin_server_a-noui.o
  151. In file included from /home/bitcoind/bitcoind/deps/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:62,
  152. from /home/bitcoind/bitcoind/deps/include/boost/signals2/preprocessed_signal.hpp:28,
  153. from /home/bitcoind/bitcoind/deps/include/boost/signals2/signal.hpp:36,
  154. from ui_interface.h:13,
  155. from noui.cpp:8:
  156. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp: In member function ‘boost::signals2::connection boost::signals2::detail::signal3_impl<R, T1, T2, T3, Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::nolock_connect(const boost::signals2::slot3<R, T1, T2, T3, SlotFunction>&, boost::signals2::connect_position) [with R = bool, T1 = const std::string&, T2 = const std::string&, T3 = unsigned int, Combiner = boost::signals2::last_value<bool>, Group = int, GroupCompare = std::less<int>, SlotFunction = boost::function<bool(const std::string&, const std::string&, unsigned int)>, ExtendedSlotFunction = boost::function<bool(const boost::signals2::connection&, const std::string&, const std::string&, unsigned int)>, Mutex = boost::signals2::mutex]’:
  157. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.7362’ does break strict-aliasing rules
  158. cc1plus: note: initialized from here
  159. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.7362’ does break strict-aliasing rules
  160. cc1plus: note: initialized from here
  161. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:433: warning: dereferencing pointer ‘pretmp.7362’ does break strict-aliasing rules
  162. cc1plus: note: initialized from here
  163. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.7362’ does break strict-aliasing rules
  164. cc1plus: note: initialized from here
  165. In file included from /home/bitcoind/bitcoind/deps/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
  166. from /home/bitcoind/bitcoind/deps/include/boost/signals2/preprocessed_signal.hpp:28,
  167. from /home/bitcoind/bitcoind/deps/include/boost/signals2/signal.hpp:36,
  168. from ui_interface.h:13,
  169. from noui.cpp:8:
  170. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp: In member function ‘boost::signals2::connection boost::signals2::detail::signal1_impl<R, T1, Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::nolock_connect(const boost::signals2::slot1<R, T1, SlotFunction>&, boost::signals2::connect_position) [with R = void, T1 = const std::string&, Combiner = boost::signals2::optional_last_value<void>, Group = int, GroupCompare = std::less<int>, SlotFunction = boost::function<void(const std::string&)>, ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, const std::string&)>, Mutex = boost::signals2::mutex]’:
  171. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.7643’ does break strict-aliasing rules
  172. cc1plus: note: initialized from here
  173. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.7643’ does break strict-aliasing rules
  174. cc1plus: note: initialized from here
  175. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:433: warning: dereferencing pointer ‘pretmp.7643’ does break strict-aliasing rules
  176. cc1plus: note: initialized from here
  177. /home/bitcoind/bitcoind/deps/include/boost/optional/optional.hpp:346: warning: dereferencing pointer ‘pretmp.7643’ does break strict-aliasing rules
  178. cc1plus: note: initialized from here
  179. CXX libbitcoin_server_a-pow.o
  180. In file included from pow.cpp:8:
  181. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  182. chain.h:261: warning: comparison between signed and unsigned integer expressions
  183. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  184. chain.h:271: warning: comparison between signed and unsigned integer expressions
  185. CXX libbitcoin_server_a-rest.o
  186. In file included from main.h:14,
  187. from rest.cpp:8:
  188. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  189. chain.h:261: warning: comparison between signed and unsigned integer expressions
  190. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  191. chain.h:271: warning: comparison between signed and unsigned integer expressions
  192. CXX libbitcoin_server_a-rpcblockchain.o
  193. In file included from main.h:14,
  194. from rpcblockchain.cpp:7:
  195. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  196. chain.h:261: warning: comparison between signed and unsigned integer expressions
  197. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  198. chain.h:271: warning: comparison between signed and unsigned integer expressions
  199. CXX libbitcoin_server_a-rpcmining.o
  200. In file included from main.h:14,
  201. from rpcmining.cpp:11:
  202. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  203. chain.h:261: warning: comparison between signed and unsigned integer expressions
  204. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  205. chain.h:271: warning: comparison between signed and unsigned integer expressions
  206. CXX libbitcoin_server_a-rpcmisc.o
  207. In file included from main.h:14,
  208. from rpcmisc.cpp:9:
  209. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  210. chain.h:261: warning: comparison between signed and unsigned integer expressions
  211. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  212. chain.h:271: warning: comparison between signed and unsigned integer expressions
  213. CXX libbitcoin_server_a-rpcnet.o
  214. In file included from main.h:14,
  215. from rpcnet.cpp:8:
  216. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  217. chain.h:261: warning: comparison between signed and unsigned integer expressions
  218. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  219. chain.h:271: warning: comparison between signed and unsigned integer expressions
  220. CXX libbitcoin_server_a-rpcrawtransaction.o
  221. In file included from main.h:14,
  222. from rpcrawtransaction.cpp:11:
  223. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  224. chain.h:261: warning: comparison between signed and unsigned integer expressions
  225. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  226. chain.h:271: warning: comparison between signed and unsigned integer expressions
  227. CXX libbitcoin_server_a-rpcserver.o
  228. In file included from main.h:14,
  229. from rpcserver.cpp:10:
  230. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  231. chain.h:261: warning: comparison between signed and unsigned integer expressions
  232. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  233. chain.h:271: warning: comparison between signed and unsigned integer expressions
  234. In file included from /home/bitcoind/bitcoind/deps/include/boost/spirit/home/classic/core/composite/operators.hpp:16,
  235. from /home/bitcoind/bitcoind/deps/include/boost/spirit/home/classic/meta/impl/parser_traits.ipp:14,
  236. from /home/bitcoind/bitcoind/deps/include/boost/spirit/home/classic/meta/parser_traits.hpp:18,
  237. from /home/bitcoind/bitcoind/deps/include/boost/spirit/home/classic/core/composite/epsilon.hpp:15,
  238. from /home/bitcoind/bitcoind/deps/include/boost/spirit/home/classic/core.hpp:48,
  239. from /home/bitcoind/bitcoind/deps/include/boost/spirit/include/classic_core.hpp:11,
  240. from json/json_spirit_reader_template.h:19,
  241. from rpcprotocol.h:18,
  242. from rpcserver.h:10,
  243. from rpcserver.cpp:6:
  244. /home/bitcoind/bitcoind/deps/include/boost/spirit/home/classic/core/scanner/scanner.hpp: In member function ‘typename boost::spirit::classic::parser_result<boost::spirit::classic::alternative<A, B>, ScannerT>::type boost::spirit::classic::alternative<A, B>::parse(const ScannerT&) const [with ScannerT = boost::spirit::classic::scanner<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::spirit::classic::scanner_policies<boost::spirit::classic::skipper_iteration_policy<boost::spirit::classic::iteration_policy>, boost::spirit::classic::match_policy, boost::spirit::classic::action_policy> >, A = boost::spirit::classic::action<boost::spirit::classic::real_parser<double, boost::spirit::classic::strict_real_parser_policies<double> >, boost::function<void(double)> >, B = boost::spirit::classic::action<boost::spirit::classic::int_parser<long int, 10, 1u, -0x00000000000000001>, boost::function<void(int64_t)> >]’:
  245. /home/bitcoind/bitcoind/deps/include/boost/spirit/home/classic/core/scanner/scanner.hpp:132: warning: dereferencing pointer ‘pretmp.39480’ does break strict-aliasing rules
  246. cc1plus: note: initialized from here
  247. CXX script/libbitcoin_server_a-sigcache.o
  248. CXX libbitcoin_server_a-timedata.o
  249. CXX libbitcoin_server_a-txdb.o
  250. In file included from main.h:14,
  251. from txdb.h:10,
  252. from txdb.cpp:6:
  253. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  254. chain.h:261: warning: comparison between signed and unsigned integer expressions
  255. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  256. chain.h:271: warning: comparison between signed and unsigned integer expressions
  257. CXX libbitcoin_server_a-txmempool.o
  258. In file included from main.h:14,
  259. from txmempool.cpp:9:
  260. chain.h: In member function ‘bool CBlockIndex::IsValid(BlockStatus) const’:
  261. chain.h:261: warning: comparison between signed and unsigned integer expressions
  262. chain.h: In member function ‘bool CBlockIndex::RaiseValidity(BlockStatus)’:
  263. chain.h:271: warning: comparison between signed and unsigned integer expressions
  264. txmempool.cpp: In member function ‘void CTxMemPool::removeCoinbaseSpends(const CCoinsViewCache*, unsigned int)’:
  265. txmempool.cpp:498: warning: comparison between signed and unsigned integer expressions
  266. AR libbitcoin_server.a
  267. CXX libbitcoin_common_a-allocators.o
  268. CXX libbitcoin_common_a-amount.o
  269. CXX libbitcoin_common_a-base58.o
  270. CXX libbitcoin_common_a-chainparams.o
  271. CXX libbitcoin_common_a-coins.o
  272. CXX libbitcoin_common_a-compressor.o
  273. CXX primitives/libbitcoin_common_a-block.o
  274. CXX primitives/libbitcoin_common_a-transaction.o
  275. CXX libbitcoin_common_a-core_read.o
  276. CXX libbitcoin_common_a-core_write.o
  277. CXX libbitcoin_common_a-eccryptoverify.o
  278. CXX libbitcoin_common_a-ecwrapper.o
  279. CXX libbitcoin_common_a-hash.o
  280. CXX libbitcoin_common_a-key.o
  281. CXX libbitcoin_common_a-keystore.o
  282. CXX libbitcoin_common_a-netbase.o
  283. netbase.cpp: In function ‘bool ConnectSocketDirectly(const CService&, SOCKET&, int)’:
  284. netbase.cpp:406: warning: dereferencing pointer ‘sockaddr.498’ does break strict-aliasing rules
  285. netbase.cpp:406: note: initialized from here
  286. CXX libbitcoin_common_a-protocol.o
  287. CXX libbitcoin_common_a-pubkey.o
  288. CXX script/libbitcoin_common_a-interpreter.o
  289. script/interpreter.cpp: In function ‘bool CheckMinimalPush(const valtype&, opcodetype)’:
  290. script/interpreter.cpp:227: warning: comparison between signed and unsigned integer expressions
  291. CXX script/libbitcoin_common_a-script.o
  292. CXX script/libbitcoin_common_a-sign.o
  293. CXX script/libbitcoin_common_a-standard.o
  294. CXX script/libbitcoin_common_a-script_error.o
  295. AR libbitcoin_common.a
  296. CXX univalue/univalue.o
  297. CXX univalue/univalue_read.o
  298. CXX univalue/univalue_write.o
  299. AR univalue/libbitcoin_univalue.a
  300. CXX compat/libbitcoin_util_a-strnlen.o
  301. CXX compat/libbitcoin_util_a-glibc_sanity.o
  302. CXX compat/libbitcoin_util_a-glibcxx_sanity.o
  303. CXX libbitcoin_util_a-chainparamsbase.o
  304. CXX libbitcoin_util_a-clientversion.o
  305. CXX libbitcoin_util_a-random.o
  306. CXX libbitcoin_util_a-rpcprotocol.o
  307. CXX libbitcoin_util_a-sync.o
  308. CXX libbitcoin_util_a-uint256.o
  309. CXX libbitcoin_util_a-util.o
  310. util.cpp: In function ‘void ShrinkDebugFile()’:
  311. util.cpp:644: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
  312. CXX libbitcoin_util_a-utilstrencodings.o
  313. CXX libbitcoin_util_a-utilmoneystr.o
  314. CXX libbitcoin_util_a-utiltime.o
  315. AR libbitcoin_util.a
  316. CXX crypto/crypto_libbitcoin_crypto_a-sha1.o
  317. CXX crypto/crypto_libbitcoin_crypto_a-sha256.o
  318. CXX crypto/crypto_libbitcoin_crypto_a-sha512.o
  319. CXX crypto/crypto_libbitcoin_crypto_a-hmac_sha256.o
  320. CXX crypto/crypto_libbitcoin_crypto_a-rfc6979_hmac_sha256.o
  321. CXX crypto/crypto_libbitcoin_crypto_a-hmac_sha512.o
  322. CXX crypto/crypto_libbitcoin_crypto_a-ripemd160.o
  323. AR crypto/libbitcoin_crypto.a
  324. Building LevelDB ...
  325. make[3]: Entering directory `/home/bitcoind/bitcoind/downloads/bitcoin/src/leveldb'
  326. g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -I/home/bitcoind/bitcoind/deps/include -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c helpers/memenv/memenv.cc -o helpers/memenv/memenv.o
  327. helpers/memenv/memenv.cc: In member function ‘leveldb::Status leveldb::<unnamed>::FileState::Read(uint64_t, size_t, leveldb::Slice*, char*) const’:
  328. helpers/memenv/memenv.cc:65: error: ‘SIZE_MAX’ was not declared in this scope
  329. make[3]: *** [helpers/memenv/memenv.o] Error 1
  330. make[3]: Leaving directory `/home/bitcoind/bitcoind/downloads/bitcoin/src/leveldb'
  331. make[2]: *** [leveldb/libmemenv.a] Error 2
  332. make[2]: Leaving directory `/home/bitcoind/bitcoind/downloads/bitcoin/src'
  333. make[1]: *** [all-recursive] Error 1
  334. make[1]: Leaving directory `/home/bitcoind/bitcoind/downloads/bitcoin/src'
  335. make: *** [all-recursive] Error 1
RAW Paste Data