Guest User

MCServer make output

a guest
Dec 12th, 2013
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 365.24 KB | None | 0 0
  1. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Authenticator.cpp -o build/debug/src/Authenticator.o
  2. In file included from src/Authenticator.cpp:7:
  3. In file included from src/Server.h:14:
  4. In file included from lib/cryptopp/rsa.h:9:
  5. In file included from lib/cryptopp/pubkey.h:35:
  6. In file included from lib/cryptopp/modarith.h:7:
  7. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  8. [-Wtautological-compare]
  9. if (a < 0)
  10. ~ ^ ~
  11. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  12. 'CryptoPP::IntToString<unsigned long>' requested here
  13. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  14. ^
  15. In file included from src/Authenticator.cpp:7:
  16. In file included from src/Server.h:14:
  17. In file included from lib/cryptopp/rsa.h:9:
  18. In file included from lib/cryptopp/pubkey.h:35:
  19. In file included from lib/cryptopp/modarith.h:7:
  20. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  21. [-Wtautological-compare]
  22. if (a < 0)
  23. ~ ^ ~
  24. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  25. 'CryptoPP::IntToString<unsigned int>' requested here
  26. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  27. ^
  28. In file included from src/Authenticator.cpp:7:
  29. In file included from src/Server.h:14:
  30. In file included from lib/cryptopp/rsa.h:9:
  31. In file included from lib/cryptopp/pubkey.h:36:
  32. In file included from lib/cryptopp/filters.h:11:
  33. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  34. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  35. ^
  36. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  37. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  38. ^
  39. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  40. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  41. ^
  42. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  43. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  44. ^
  45. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  46. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  47. ^
  48. <scratch space>:122:1: note: expanded from here
  49. cryptopp_assert_26
  50. ^
  51. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  52. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  53. requested here
  54. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  55. ^
  56. In file included from src/Authenticator.cpp:7:
  57. In file included from src/Server.h:14:
  58. In file included from lib/cryptopp/rsa.h:9:
  59. In file included from lib/cryptopp/pubkey.h:36:
  60. In file included from lib/cryptopp/filters.h:11:
  61. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  62. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  63. ^
  64. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  65. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  66. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  67. ^
  68. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  69. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  70. return AlgorithmParameters()(name, value, throwIfNotUsed);
  71. ^
  72. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  73. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  74. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  75. ^
  76. In file included from src/Authenticator.cpp:7:
  77. In file included from src/Server.h:14:
  78. In file included from lib/cryptopp/rsa.h:9:
  79. In file included from lib/cryptopp/pubkey.h:35:
  80. In file included from lib/cryptopp/modarith.h:7:
  81. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  82. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  83. ^
  84. 5 warnings generated.
  85. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Bindings/Bindings.cpp -o build/debug/src/Bindings/Bindings.o
  86. In file included from src/Bindings/Bindings.cpp:17:
  87. src/Bindings/tolua_base.h:4:9: warning: unknown pragma ignored [-Wunknown-pragmas]
  88. #pragma warning(disable:4800) // This file is ONLY included by Bindings.cpp and it throws lots o...
  89. ^
  90. In file included from src/Bindings/Bindings.cpp:37:
  91. In file included from src/Bindings/../Server.h:14:
  92. In file included from lib/cryptopp/rsa.h:9:
  93. In file included from lib/cryptopp/pubkey.h:35:
  94. In file included from lib/cryptopp/modarith.h:7:
  95. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  96. [-Wtautological-compare]
  97. if (a < 0)
  98. ~ ^ ~
  99. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  100. 'CryptoPP::IntToString<unsigned long>' requested here
  101. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  102. ^
  103. In file included from src/Bindings/Bindings.cpp:37:
  104. In file included from src/Bindings/../Server.h:14:
  105. In file included from lib/cryptopp/rsa.h:9:
  106. In file included from lib/cryptopp/pubkey.h:35:
  107. In file included from lib/cryptopp/modarith.h:7:
  108. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  109. [-Wtautological-compare]
  110. if (a < 0)
  111. ~ ^ ~
  112. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  113. 'CryptoPP::IntToString<unsigned int>' requested here
  114. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  115. ^
  116. In file included from src/Bindings/Bindings.cpp:37:
  117. In file included from src/Bindings/../Server.h:14:
  118. In file included from lib/cryptopp/rsa.h:9:
  119. In file included from lib/cryptopp/pubkey.h:36:
  120. In file included from lib/cryptopp/filters.h:11:
  121. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  122. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  123. ^
  124. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  125. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  126. ^
  127. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  128. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  129. ^
  130. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  131. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  132. ^
  133. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  134. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  135. ^
  136. <scratch space>:202:1: note: expanded from here
  137. cryptopp_assert_26
  138. ^
  139. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  140. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  141. requested here
  142. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  143. ^
  144. In file included from src/Bindings/Bindings.cpp:37:
  145. In file included from src/Bindings/../Server.h:14:
  146. In file included from lib/cryptopp/rsa.h:9:
  147. In file included from lib/cryptopp/pubkey.h:36:
  148. In file included from lib/cryptopp/filters.h:11:
  149. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  150. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  151. ^
  152. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  153. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  154. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  155. ^
  156. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  157. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  158. return AlgorithmParameters()(name, value, throwIfNotUsed);
  159. ^
  160. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  161. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  162. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  163. ^
  164. In file included from src/Bindings/Bindings.cpp:37:
  165. In file included from src/Bindings/../Server.h:14:
  166. In file included from lib/cryptopp/rsa.h:9:
  167. In file included from lib/cryptopp/pubkey.h:35:
  168. In file included from lib/cryptopp/modarith.h:7:
  169. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  170. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  171. ^
  172. 6 warnings generated.
  173. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Bindings/LuaState.cpp -o build/debug/src/Bindings/LuaState.o
  174. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Bindings/LuaWindow.cpp -o build/debug/src/Bindings/LuaWindow.o
  175. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Bindings/ManualBindings.cpp -o build/debug/src/Bindings/ManualBindings.o
  176. src/Bindings/ManualBindings.cpp:993:6: warning: unused variable 'newTable' [-Wunused-variable]
  177. int newTable = lua_gettop(tolua_S);
  178. ^
  179. src/Bindings/ManualBindings.cpp:1879:6: warning: unused variable 'newTable' [-Wunused-variable]
  180. int newTable = lua_gettop(tolua_S);
  181. ^
  182. 2 warnings generated.
  183. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Bindings/Plugin.cpp -o build/debug/src/Bindings/Plugin.o
  184. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Bindings/PluginLua.cpp -o build/debug/src/Bindings/PluginLua.o
  185. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Bindings/PluginManager.cpp -o build/debug/src/Bindings/PluginManager.o
  186. In file included from src/Bindings/PluginManager.cpp:10:
  187. In file included from src/Bindings/../Server.h:14:
  188. In file included from lib/cryptopp/rsa.h:9:
  189. In file included from lib/cryptopp/pubkey.h:35:
  190. In file included from lib/cryptopp/modarith.h:7:
  191. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  192. [-Wtautological-compare]
  193. if (a < 0)
  194. ~ ^ ~
  195. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  196. 'CryptoPP::IntToString<unsigned long>' requested here
  197. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  198. ^
  199. In file included from src/Bindings/PluginManager.cpp:10:
  200. In file included from src/Bindings/../Server.h:14:
  201. In file included from lib/cryptopp/rsa.h:9:
  202. In file included from lib/cryptopp/pubkey.h:35:
  203. In file included from lib/cryptopp/modarith.h:7:
  204. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  205. [-Wtautological-compare]
  206. if (a < 0)
  207. ~ ^ ~
  208. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  209. 'CryptoPP::IntToString<unsigned int>' requested here
  210. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  211. ^
  212. In file included from src/Bindings/PluginManager.cpp:10:
  213. In file included from src/Bindings/../Server.h:14:
  214. In file included from lib/cryptopp/rsa.h:9:
  215. In file included from lib/cryptopp/pubkey.h:36:
  216. In file included from lib/cryptopp/filters.h:11:
  217. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  218. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  219. ^
  220. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  221. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  222. ^
  223. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  224. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  225. ^
  226. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  227. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  228. ^
  229. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  230. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  231. ^
  232. <scratch space>:140:1: note: expanded from here
  233. cryptopp_assert_26
  234. ^
  235. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  236. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  237. requested here
  238. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  239. ^
  240. In file included from src/Bindings/PluginManager.cpp:10:
  241. In file included from src/Bindings/../Server.h:14:
  242. In file included from lib/cryptopp/rsa.h:9:
  243. In file included from lib/cryptopp/pubkey.h:36:
  244. In file included from lib/cryptopp/filters.h:11:
  245. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  246. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  247. ^
  248. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  249. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  250. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  251. ^
  252. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  253. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  254. return AlgorithmParameters()(name, value, throwIfNotUsed);
  255. ^
  256. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  257. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  258. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  259. ^
  260. In file included from src/Bindings/PluginManager.cpp:10:
  261. In file included from src/Bindings/../Server.h:14:
  262. In file included from lib/cryptopp/rsa.h:9:
  263. In file included from lib/cryptopp/pubkey.h:35:
  264. In file included from lib/cryptopp/modarith.h:7:
  265. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  266. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  267. ^
  268. 5 warnings generated.
  269. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Bindings/WebPlugin.cpp -o build/debug/src/Bindings/WebPlugin.o
  270. In file included from src/Bindings/WebPlugin.cpp:6:
  271. In file included from src/Bindings/../Server.h:14:
  272. In file included from lib/cryptopp/rsa.h:9:
  273. In file included from lib/cryptopp/pubkey.h:35:
  274. In file included from lib/cryptopp/modarith.h:7:
  275. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  276. [-Wtautological-compare]
  277. if (a < 0)
  278. ~ ^ ~
  279. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  280. 'CryptoPP::IntToString<unsigned long>' requested here
  281. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  282. ^
  283. In file included from src/Bindings/WebPlugin.cpp:6:
  284. In file included from src/Bindings/../Server.h:14:
  285. In file included from lib/cryptopp/rsa.h:9:
  286. In file included from lib/cryptopp/pubkey.h:35:
  287. In file included from lib/cryptopp/modarith.h:7:
  288. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  289. [-Wtautological-compare]
  290. if (a < 0)
  291. ~ ^ ~
  292. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  293. 'CryptoPP::IntToString<unsigned int>' requested here
  294. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  295. ^
  296. In file included from src/Bindings/WebPlugin.cpp:6:
  297. In file included from src/Bindings/../Server.h:14:
  298. In file included from lib/cryptopp/rsa.h:9:
  299. In file included from lib/cryptopp/pubkey.h:36:
  300. In file included from lib/cryptopp/filters.h:11:
  301. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  302. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  303. ^
  304. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  305. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  306. ^
  307. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  308. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  309. ^
  310. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  311. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  312. ^
  313. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  314. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  315. ^
  316. <scratch space>:122:1: note: expanded from here
  317. cryptopp_assert_26
  318. ^
  319. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  320. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  321. requested here
  322. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  323. ^
  324. In file included from src/Bindings/WebPlugin.cpp:6:
  325. In file included from src/Bindings/../Server.h:14:
  326. In file included from lib/cryptopp/rsa.h:9:
  327. In file included from lib/cryptopp/pubkey.h:36:
  328. In file included from lib/cryptopp/filters.h:11:
  329. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  330. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  331. ^
  332. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  333. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  334. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  335. ^
  336. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  337. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  338. return AlgorithmParameters()(name, value, throwIfNotUsed);
  339. ^
  340. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  341. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  342. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  343. ^
  344. In file included from src/Bindings/WebPlugin.cpp:6:
  345. In file included from src/Bindings/../Server.h:14:
  346. In file included from lib/cryptopp/rsa.h:9:
  347. In file included from lib/cryptopp/pubkey.h:35:
  348. In file included from lib/cryptopp/modarith.h:7:
  349. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  350. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  351. ^
  352. 5 warnings generated.
  353. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockArea.cpp -o build/debug/src/BlockArea.o
  354. src/BlockArea.cpp:134:14: warning: explicitly assigning a variable of type 'NIBBLETYPE'
  355. (aka 'unsigned char') to itself [-Wself-assign]
  356. a_DstMeta = a_DstMeta;
  357. ~~~~~~~~~ ^ ~~~~~~~~~
  358. src/BlockArea.cpp:817:6: warning: unused variable 'err' [-Wunused-variable]
  359. int err = dx - dz;
  360. ^
  361. 2 warnings generated.
  362. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockEntities/BlockEntity.cpp -o build/debug/src/BlockEntities/BlockEntity.o
  363. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockEntities/ChestEntity.cpp -o build/debug/src/BlockEntities/ChestEntity.o
  364. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockEntities/DispenserEntity.cpp -o build/debug/src/BlockEntities/DispenserEntity.o
  365. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockEntities/DropperEntity.cpp -o build/debug/src/BlockEntities/DropperEntity.o
  366. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockEntities/DropSpenserEntity.cpp -o build/debug/src/BlockEntities/DropSpenserEntity.o
  367. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockEntities/EnderChestEntity.cpp -o build/debug/src/BlockEntities/EnderChestEntity.o
  368. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockEntities/FurnaceEntity.cpp -o build/debug/src/BlockEntities/FurnaceEntity.o
  369. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockEntities/HopperEntity.cpp -o build/debug/src/BlockEntities/HopperEntity.o
  370. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockEntities/JukeboxEntity.cpp -o build/debug/src/BlockEntities/JukeboxEntity.o
  371. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockEntities/NoteEntity.cpp -o build/debug/src/BlockEntities/NoteEntity.o
  372. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockEntities/SignEntity.cpp -o build/debug/src/BlockEntities/SignEntity.o
  373. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BlockID.cpp -o build/debug/src/BlockID.o
  374. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Blocks/BlockBed.cpp -o build/debug/src/Blocks/BlockBed.o
  375. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Blocks/BlockDoor.cpp -o build/debug/src/Blocks/BlockDoor.o
  376. src/Blocks/BlockDoor.cpp:68:22: warning: '&&' within '||' [-Wlogical-op-parentheses]
  377. ...(a_BlockMeta == 0) && (a_World->GetBlock(a_BlockX, a_BlockY, a_BlockZ - 1) == m_BlockType) ||
  378. ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
  379. src/Blocks/BlockDoor.cpp:68:22: note: place parentheses around the '&&' expression to silence this
  380. warning
  381. ...(a_BlockMeta == 0) && (a_World->GetBlock(a_BlockX, a_BlockY, a_BlockZ - 1) == m_BlockType) ||
  382. ^
  383. ( )
  384. src/Blocks/BlockDoor.cpp:69:22: warning: '&&' within '||' [-Wlogical-op-parentheses]
  385. ...(a_BlockMeta == 1) && (a_World->GetBlock(a_BlockX + 1, a_BlockY, a_BlockZ) == m_BlockType) ||
  386. ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  387. src/Blocks/BlockDoor.cpp:69:22: note: place parentheses around the '&&' expression to silence this
  388. warning
  389. ...(a_BlockMeta == 1) && (a_World->GetBlock(a_BlockX + 1, a_BlockY, a_BlockZ) == m_BlockType) ||
  390. ^
  391. ( )
  392. src/Blocks/BlockDoor.cpp:70:22: warning: '&&' within '||' [-Wlogical-op-parentheses]
  393. ...(a_BlockMeta == 2) && (a_World->GetBlock(a_BlockX, a_BlockY, a_BlockZ + 1) == m_BlockType) ||
  394. ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  395. src/Blocks/BlockDoor.cpp:70:22: note: place parentheses around the '&&' expression to silence this
  396. warning
  397. ...(a_BlockMeta == 2) && (a_World->GetBlock(a_BlockX, a_BlockY, a_BlockZ + 1) == m_BlockType) ||
  398. ^
  399. ( )
  400. src/Blocks/BlockDoor.cpp:71:22: warning: '&&' within '||' [-Wlogical-op-parentheses]
  401. ...(a_BlockMeta == 3) && (a_World->GetBlock(a_BlockX - 1, a_BlockY, a_BlockZ) == m_BlockType)
  402. ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  403. src/Blocks/BlockDoor.cpp:71:22: note: place parentheses around the '&&' expression to silence this
  404. warning
  405. ...(a_BlockMeta == 3) && (a_World->GetBlock(a_BlockX - 1, a_BlockY, a_BlockZ) == m_BlockType)
  406. ^
  407. ( )
  408. 4 warnings generated.
  409. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Blocks/BlockHandler.cpp -o build/debug/src/Blocks/BlockHandler.o
  410. In file included from src/Blocks/BlockHandler.cpp:13:
  411. src/Blocks/BlockCauldron.h:24:7: warning: 'cBlockCauldronHandler::OnUse' hides overloaded virtual
  412. function [-Woverloaded-virtual]
  413. void OnUse(cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ)
  414. ^
  415. src/Blocks/BlockHandler.h:68:15: note: hidden overloaded virtual function 'cBlockHandler::OnUse' declared
  416. here
  417. virtual void OnUse(cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int ...
  418. ^
  419. In file included from src/Blocks/BlockHandler.cpp:14:
  420. src/Blocks/BlockChest.h:115:15: warning: 'cBlockChestHandler::CanBeAt' hides overloaded virtual function
  421. [-Woverloaded-virtual]
  422. virtual bool CanBeAt(cWorld * a_World, int a_BlockX, int a_BlockY, int a_BlockZ)
  423. ^
  424. src/Blocks/BlockHandler.h:80:15: note: hidden overloaded virtual function 'cBlockHandler::CanBeAt'
  425. declared here
  426. virtual bool CanBeAt(int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk);
  427. ^
  428. In file included from src/Blocks/BlockHandler.cpp:27:
  429. src/Blocks/BlockFire.h:72:8: warning: expression result unused [-Wunused-value]
  430. for (newY; newY < cChunkDef::Height; newY++)
  431. ^~~~
  432. src/Blocks/BlockFire.h:158:8: warning: expression result unused [-Wunused-value]
  433. for (X1; ((a_World->GetBlock(X1, Y, Z) == E_BLOCK_OBSIDIAN) || (a_World->GetBlock...
  434. ^~
  435. src/Blocks/BlockFire.h:172:8: warning: expression result unused [-Wunused-value]
  436. for (X2; ((a_World->GetBlock(X2, Y, Z) == E_BLOCK_OBSIDIAN) || (a_World->GetBlock...
  437. ^~
  438. src/Blocks/BlockFire.h:194:8: warning: expression result unused [-Wunused-value]
  439. for (Z1; ((a_World->GetBlock(X, Y, Z1) == E_BLOCK_OBSIDIAN) || (a_World->GetBlock...
  440. ^~
  441. src/Blocks/BlockFire.h:208:8: warning: expression result unused [-Wunused-value]
  442. for (Z2; ((a_World->GetBlock(X, Y, Z2) == E_BLOCK_OBSIDIAN) || (a_World->GetBlock...
  443. ^~
  444. In file included from src/Blocks/BlockHandler.cpp:29:
  445. src/Blocks/BlockFlowerPot.h:47:7: warning: 'cBlockFlowerPotHandler::OnUse' hides overloaded virtual
  446. function [-Woverloaded-virtual]
  447. void OnUse(cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ)
  448. ^
  449. src/Blocks/BlockHandler.h:68:15: note: hidden overloaded virtual function 'cBlockHandler::OnUse' declared
  450. here
  451. virtual void OnUse(cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int ...
  452. ^
  453. In file included from src/Blocks/BlockHandler.cpp:60:
  454. src/Blocks/BlockStems.h:34:8: warning: unused variable 'BlockZ' [-Wunused-variable]
  455. int BlockZ = a_RelZ + a_Chunk.GetPosZ() * cChunkDef::Width;
  456. ^
  457. In file included from src/Blocks/BlockHandler.cpp:66:
  458. src/Blocks/BlockVine.h:165:15: warning: 'cBlockVineHandler::OnUpdate' hides overloaded virtual function
  459. [-Woverloaded-virtual]
  460. virtual void OnUpdate(cWorld * a_World, int X, int Y, int Z)
  461. ^
  462. src/Blocks/BlockHandler.h:27:15: note: hidden overloaded virtual function 'cBlockHandler::OnUpdate'
  463. declared here
  464. virtual void OnUpdate(cChunk & a_Chunk, int a_RelX, int a_RelY, int a_RelZ);
  465. ^
  466. src/Blocks/BlockHandler.cpp:223:3: warning: delete called on 'cBlockHandler' that has virtual functions
  467. but non-virtual destructor [-Wdelete-non-virtual-dtor]
  468. delete m_BlockHandler[i];
  469. ^
  470. 11 warnings generated.
  471. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Blocks/BlockPiston.cpp -o build/debug/src/Blocks/BlockPiston.o
  472. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/BoundingBox.cpp -o build/debug/src/BoundingBox.o
  473. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/ByteBuffer.cpp -o build/debug/src/ByteBuffer.o
  474. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/ChatColor.cpp -o build/debug/src/ChatColor.o
  475. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Chunk.cpp -o build/debug/src/Chunk.o
  476. src/Chunk.cpp:72:4: warning: field 'm_BlockTickZ' will be initialized after field 'm_World' [-Wreorder]
  477. , m_BlockTickZ( 0 )
  478. ^
  479. src/Chunk.cpp:74:4: warning: field 'm_ChunkMap' will be initialized after field 'm_IsValid' [-Wreorder]
  480. , m_ChunkMap(a_ChunkMap)
  481. ^
  482. src/Chunk.cpp:529:15: warning: unused variable 'SkyLight' [-Wunused-variable]
  483. NIBBLETYPE SkyLight = 0;
  484. ^
  485. src/Chunk.cpp:531:15: warning: unused variable 'BlockLight' [-Wunused-variable]
  486. NIBBLETYPE BlockLight = 0;
  487. ^
  488. src/Chunk.cpp:2285:6: warning: unused variable 'Idx' [-Wunused-variable]
  489. int Idx = cChunkDef::MakeIndexNoCheck(a_RelX, a_RelY, a_RelZ);
  490. ^
  491. In file included from src/Chunk.cpp:11:
  492. In file included from src/Server.h:14:
  493. In file included from lib/cryptopp/rsa.h:9:
  494. In file included from lib/cryptopp/pubkey.h:35:
  495. In file included from lib/cryptopp/modarith.h:7:
  496. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  497. [-Wtautological-compare]
  498. if (a < 0)
  499. ~ ^ ~
  500. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  501. 'CryptoPP::IntToString<unsigned long>' requested here
  502. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  503. ^
  504. In file included from src/Chunk.cpp:11:
  505. In file included from src/Server.h:14:
  506. In file included from lib/cryptopp/rsa.h:9:
  507. In file included from lib/cryptopp/pubkey.h:35:
  508. In file included from lib/cryptopp/modarith.h:7:
  509. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  510. [-Wtautological-compare]
  511. if (a < 0)
  512. ~ ^ ~
  513. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  514. 'CryptoPP::IntToString<unsigned int>' requested here
  515. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  516. ^
  517. In file included from src/Chunk.cpp:11:
  518. In file included from src/Server.h:14:
  519. In file included from lib/cryptopp/rsa.h:9:
  520. In file included from lib/cryptopp/pubkey.h:36:
  521. In file included from lib/cryptopp/filters.h:11:
  522. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  523. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  524. ^
  525. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  526. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  527. ^
  528. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  529. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  530. ^
  531. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  532. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  533. ^
  534. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  535. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  536. ^
  537. <scratch space>:200:1: note: expanded from here
  538. cryptopp_assert_26
  539. ^
  540. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  541. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  542. requested here
  543. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  544. ^
  545. In file included from src/Chunk.cpp:11:
  546. In file included from src/Server.h:14:
  547. In file included from lib/cryptopp/rsa.h:9:
  548. In file included from lib/cryptopp/pubkey.h:36:
  549. In file included from lib/cryptopp/filters.h:11:
  550. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  551. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  552. ^
  553. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  554. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  555. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  556. ^
  557. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  558. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  559. return AlgorithmParameters()(name, value, throwIfNotUsed);
  560. ^
  561. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  562. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  563. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  564. ^
  565. In file included from src/Chunk.cpp:11:
  566. In file included from src/Server.h:14:
  567. In file included from lib/cryptopp/rsa.h:9:
  568. In file included from lib/cryptopp/pubkey.h:35:
  569. In file included from lib/cryptopp/modarith.h:7:
  570. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  571. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  572. ^
  573. 10 warnings generated.
  574. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/ChunkMap.cpp -o build/debug/src/ChunkMap.o
  575. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/ChunkSender.cpp -o build/debug/src/ChunkSender.o
  576. src/ChunkSender.cpp:38:2: warning: field 'm_Notify' will be initialized after field 'm_RemoveCount'
  577. [-Wreorder]
  578. m_Notify(NULL),
  579. ^
  580. 1 warning generated.
  581. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/ClientHandle.cpp -o build/debug/src/ClientHandle.o
  582. src/ClientHandle.cpp:87:4: warning: field 'm_bKeepThreadGoing' will be initialized after field 'm_Ping'
  583. [-Wreorder]
  584. , m_bKeepThreadGoing(true)
  585. ^
  586. src/ClientHandle.cpp:91:4: warning: field 'm_State' will be initialized after field
  587. 'm_LastStreamedChunkX' [-Wreorder]
  588. , m_State(csConnected)
  589. ^
  590. src/ClientHandle.cpp:95:4: warning: field 'm_UniqueID' will be initialized after field
  591. 'm_BlockDigAnimStage' [-Wreorder]
  592. , m_UniqueID(0)
  593. ^
  594. In file included from src/ClientHandle.cpp:4:
  595. In file included from src/Server.h:14:
  596. In file included from lib/cryptopp/rsa.h:9:
  597. In file included from lib/cryptopp/pubkey.h:35:
  598. In file included from lib/cryptopp/modarith.h:7:
  599. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  600. [-Wtautological-compare]
  601. if (a < 0)
  602. ~ ^ ~
  603. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  604. 'CryptoPP::IntToString<unsigned long>' requested here
  605. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  606. ^
  607. In file included from src/ClientHandle.cpp:4:
  608. In file included from src/Server.h:14:
  609. In file included from lib/cryptopp/rsa.h:9:
  610. In file included from lib/cryptopp/pubkey.h:35:
  611. In file included from lib/cryptopp/modarith.h:7:
  612. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  613. [-Wtautological-compare]
  614. if (a < 0)
  615. ~ ^ ~
  616. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  617. 'CryptoPP::IntToString<unsigned int>' requested here
  618. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  619. ^
  620. In file included from src/ClientHandle.cpp:4:
  621. In file included from src/Server.h:14:
  622. In file included from lib/cryptopp/rsa.h:9:
  623. In file included from lib/cryptopp/pubkey.h:36:
  624. In file included from lib/cryptopp/filters.h:11:
  625. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  626. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  627. ^
  628. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  629. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  630. ^
  631. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  632. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  633. ^
  634. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  635. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  636. ^
  637. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  638. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  639. ^
  640. <scratch space>:140:1: note: expanded from here
  641. cryptopp_assert_26
  642. ^
  643. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  644. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  645. requested here
  646. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  647. ^
  648. In file included from src/ClientHandle.cpp:4:
  649. In file included from src/Server.h:14:
  650. In file included from lib/cryptopp/rsa.h:9:
  651. In file included from lib/cryptopp/pubkey.h:36:
  652. In file included from lib/cryptopp/filters.h:11:
  653. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  654. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  655. ^
  656. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  657. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  658. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  659. ^
  660. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  661. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  662. return AlgorithmParameters()(name, value, throwIfNotUsed);
  663. ^
  664. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  665. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  666. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  667. ^
  668. In file included from src/ClientHandle.cpp:4:
  669. In file included from src/Server.h:14:
  670. In file included from lib/cryptopp/rsa.h:9:
  671. In file included from lib/cryptopp/pubkey.h:35:
  672. In file included from lib/cryptopp/modarith.h:7:
  673. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  674. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  675. ^
  676. 8 warnings generated.
  677. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/CommandOutput.cpp -o build/debug/src/CommandOutput.o
  678. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/CraftingRecipes.cpp -o build/debug/src/CraftingRecipes.o
  679. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Cuboid.cpp -o build/debug/src/Cuboid.o
  680. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/DeadlockDetect.cpp -o build/debug/src/DeadlockDetect.o
  681. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Enchantments.cpp -o build/debug/src/Enchantments.o
  682. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Entities/Boat.cpp -o build/debug/src/Entities/Boat.o
  683. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Entities/Entity.cpp -o build/debug/src/Entities/Entity.o
  684. src/Entities/Entity.cpp:39:4: warning: field 'm_Mass' will be initialized after field 'm_bDirtyHead'
  685. [-Wreorder]
  686. , m_Mass (0.001) //Default 1g
  687. ^
  688. src/Entities/Entity.cpp:46:4: warning: field 'm_IsInitialized' will be initialized after field
  689. 'm_LastPosX' [-Wreorder]
  690. , m_IsInitialized(false)
  691. ^
  692. src/Entities/Entity.cpp:58:4: warning: field 'm_TicksSinceLastVoidDamage' will be initialized after field
  693. 'm_TicksLeftBurning' [-Wreorder]
  694. , m_TicksSinceLastVoidDamage(0)
  695. ^
  696. src/Entities/Entity.cpp:365:10: warning: 7 enumeration values not handled in switch: 'dtAttack',
  697. 'dtRangedAttack', 'dtCactusContact'... [-Wswitch]
  698. switch (a_DamageType)
  699. ^
  700. In file included from src/Entities/Entity.cpp:5:
  701. In file included from src/Entities/../Server.h:14:
  702. In file included from lib/cryptopp/rsa.h:9:
  703. In file included from lib/cryptopp/pubkey.h:35:
  704. In file included from lib/cryptopp/modarith.h:7:
  705. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  706. [-Wtautological-compare]
  707. if (a < 0)
  708. ~ ^ ~
  709. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  710. 'CryptoPP::IntToString<unsigned long>' requested here
  711. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  712. ^
  713. In file included from src/Entities/Entity.cpp:5:
  714. In file included from src/Entities/../Server.h:14:
  715. In file included from lib/cryptopp/rsa.h:9:
  716. In file included from lib/cryptopp/pubkey.h:35:
  717. In file included from lib/cryptopp/modarith.h:7:
  718. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  719. [-Wtautological-compare]
  720. if (a < 0)
  721. ~ ^ ~
  722. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  723. 'CryptoPP::IntToString<unsigned int>' requested here
  724. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  725. ^
  726. In file included from src/Entities/Entity.cpp:5:
  727. In file included from src/Entities/../Server.h:14:
  728. In file included from lib/cryptopp/rsa.h:9:
  729. In file included from lib/cryptopp/pubkey.h:36:
  730. In file included from lib/cryptopp/filters.h:11:
  731. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  732. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  733. ^
  734. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  735. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  736. ^
  737. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  738. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  739. ^
  740. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  741. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  742. ^
  743. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  744. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  745. ^
  746. <scratch space>:200:1: note: expanded from here
  747. cryptopp_assert_26
  748. ^
  749. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  750. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  751. requested here
  752. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  753. ^
  754. In file included from src/Entities/Entity.cpp:5:
  755. In file included from src/Entities/../Server.h:14:
  756. In file included from lib/cryptopp/rsa.h:9:
  757. In file included from lib/cryptopp/pubkey.h:36:
  758. In file included from lib/cryptopp/filters.h:11:
  759. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  760. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  761. ^
  762. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  763. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  764. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  765. ^
  766. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  767. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  768. return AlgorithmParameters()(name, value, throwIfNotUsed);
  769. ^
  770. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  771. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  772. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  773. ^
  774. In file included from src/Entities/Entity.cpp:5:
  775. In file included from src/Entities/../Server.h:14:
  776. In file included from lib/cryptopp/rsa.h:9:
  777. In file included from lib/cryptopp/pubkey.h:35:
  778. In file included from lib/cryptopp/modarith.h:7:
  779. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  780. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  781. ^
  782. 9 warnings generated.
  783. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Entities/ExpOrb.cpp -o build/debug/src/Entities/ExpOrb.o
  784. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Entities/FallingBlock.cpp -o build/debug/src/Entities/FallingBlock.o
  785. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Entities/Minecart.cpp -o build/debug/src/Entities/Minecart.o
  786. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Entities/Pawn.cpp -o build/debug/src/Entities/Pawn.o
  787. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Entities/Pickup.cpp -o build/debug/src/Entities/Pickup.o
  788. In file included from src/Entities/Pickup.cpp:13:
  789. In file included from src/Entities/../Server.h:14:
  790. In file included from lib/cryptopp/rsa.h:9:
  791. In file included from lib/cryptopp/pubkey.h:35:
  792. In file included from lib/cryptopp/modarith.h:7:
  793. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  794. [-Wtautological-compare]
  795. if (a < 0)
  796. ~ ^ ~
  797. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  798. 'CryptoPP::IntToString<unsigned long>' requested here
  799. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  800. ^
  801. In file included from src/Entities/Pickup.cpp:13:
  802. In file included from src/Entities/../Server.h:14:
  803. In file included from lib/cryptopp/rsa.h:9:
  804. In file included from lib/cryptopp/pubkey.h:35:
  805. In file included from lib/cryptopp/modarith.h:7:
  806. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  807. [-Wtautological-compare]
  808. if (a < 0)
  809. ~ ^ ~
  810. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  811. 'CryptoPP::IntToString<unsigned int>' requested here
  812. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  813. ^
  814. In file included from src/Entities/Pickup.cpp:13:
  815. In file included from src/Entities/../Server.h:14:
  816. In file included from lib/cryptopp/rsa.h:9:
  817. In file included from lib/cryptopp/pubkey.h:36:
  818. In file included from lib/cryptopp/filters.h:11:
  819. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  820. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  821. ^
  822. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  823. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  824. ^
  825. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  826. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  827. ^
  828. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  829. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  830. ^
  831. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  832. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  833. ^
  834. <scratch space>:201:1: note: expanded from here
  835. cryptopp_assert_26
  836. ^
  837. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  838. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  839. requested here
  840. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  841. ^
  842. In file included from src/Entities/Pickup.cpp:13:
  843. In file included from src/Entities/../Server.h:14:
  844. In file included from lib/cryptopp/rsa.h:9:
  845. In file included from lib/cryptopp/pubkey.h:36:
  846. In file included from lib/cryptopp/filters.h:11:
  847. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  848. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  849. ^
  850. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  851. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  852. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  853. ^
  854. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  855. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  856. return AlgorithmParameters()(name, value, throwIfNotUsed);
  857. ^
  858. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  859. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  860. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  861. ^
  862. In file included from src/Entities/Pickup.cpp:13:
  863. In file included from src/Entities/../Server.h:14:
  864. In file included from lib/cryptopp/rsa.h:9:
  865. In file included from lib/cryptopp/pubkey.h:35:
  866. In file included from lib/cryptopp/modarith.h:7:
  867. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  868. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  869. ^
  870. 5 warnings generated.
  871. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Entities/Player.cpp -o build/debug/src/Entities/Player.o
  872. src/Entities/Player.cpp:40:4: warning: field 'm_IP' will be initialized after field
  873. 'm_LastBlockActionTime' [-Wreorder]
  874. , m_IP("")
  875. ^
  876. src/Entities/Player.cpp:42:4: warning: field 'm_LastBlockActionCnt' will be initialized after field
  877. 'm_AirLevel' [-Wreorder]
  878. , m_LastBlockActionCnt( 0 )
  879. ^
  880. src/Entities/Player.cpp:54:4: warning: field 'm_ClientHandle' will be initialized after field
  881. 'm_FoodLevel' [-Wreorder]
  882. , m_ClientHandle( a_Client )
  883. ^
  884. src/Entities/Player.cpp:68:4: warning: field 'm_BowCharge' will be initialized after field 'm_CurrentXp'
  885. [-Wreorder]
  886. , m_BowCharge(0)
  887. ^
  888. src/Entities/Player.cpp:69:4: warning: field 'm_CurrentXp' will be initialized after field
  889. 'm_LifetimeTotalXp' [-Wreorder]
  890. , m_CurrentXp(0)
  891. ^
  892. In file included from src/Entities/Player.cpp:5:
  893. In file included from src/Entities/../Server.h:14:
  894. In file included from lib/cryptopp/rsa.h:9:
  895. In file included from lib/cryptopp/pubkey.h:35:
  896. In file included from lib/cryptopp/modarith.h:7:
  897. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  898. [-Wtautological-compare]
  899. if (a < 0)
  900. ~ ^ ~
  901. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  902. 'CryptoPP::IntToString<unsigned long>' requested here
  903. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  904. ^
  905. In file included from src/Entities/Player.cpp:5:
  906. In file included from src/Entities/../Server.h:14:
  907. In file included from lib/cryptopp/rsa.h:9:
  908. In file included from lib/cryptopp/pubkey.h:35:
  909. In file included from lib/cryptopp/modarith.h:7:
  910. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  911. [-Wtautological-compare]
  912. if (a < 0)
  913. ~ ^ ~
  914. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  915. 'CryptoPP::IntToString<unsigned int>' requested here
  916. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  917. ^
  918. In file included from src/Entities/Player.cpp:5:
  919. In file included from src/Entities/../Server.h:14:
  920. In file included from lib/cryptopp/rsa.h:9:
  921. In file included from lib/cryptopp/pubkey.h:36:
  922. In file included from lib/cryptopp/filters.h:11:
  923. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  924. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  925. ^
  926. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  927. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  928. ^
  929. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  930. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  931. ^
  932. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  933. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  934. ^
  935. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  936. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  937. ^
  938. <scratch space>:201:1: note: expanded from here
  939. cryptopp_assert_26
  940. ^
  941. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  942. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  943. requested here
  944. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  945. ^
  946. In file included from src/Entities/Player.cpp:5:
  947. In file included from src/Entities/../Server.h:14:
  948. In file included from lib/cryptopp/rsa.h:9:
  949. In file included from lib/cryptopp/pubkey.h:36:
  950. In file included from lib/cryptopp/filters.h:11:
  951. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  952. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  953. ^
  954. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  955. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  956. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  957. ^
  958. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  959. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  960. return AlgorithmParameters()(name, value, throwIfNotUsed);
  961. ^
  962. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  963. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  964. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  965. ^
  966. In file included from src/Entities/Player.cpp:5:
  967. In file included from src/Entities/../Server.h:14:
  968. In file included from lib/cryptopp/rsa.h:9:
  969. In file included from lib/cryptopp/pubkey.h:35:
  970. In file included from lib/cryptopp/modarith.h:7:
  971. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  972. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  973. ^
  974. 10 warnings generated.
  975. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Entities/ProjectileEntity.cpp -o build/debug/src/Entities/ProjectileEntity.o
  976. src/Entities/ProjectileEntity.cpp:225:10: warning: enumeration values 'pkWitherSkull', 'pkSplashPotion',
  977. and 'pkFishingFloat' not handled in switch [-Wswitch]
  978. switch (a_Kind)
  979. ^
  980. src/Entities/ProjectileEntity.cpp:268:10: warning: enumeration value 'pkFirework' not handled in switch
  981. [-Wswitch]
  982. switch (m_ProjectileKind)
  983. ^
  984. src/Entities/ProjectileEntity.cpp:400:2: warning: field 'm_HitBlockPos' will be initialized after field
  985. 'm_HitGroundTimer' [-Wreorder]
  986. m_HitBlockPos(Vector3i(0, 0, 0)),
  987. ^
  988. src/Entities/ProjectileEntity.cpp:424:2: warning: field 'm_HitBlockPos' will be initialized after field
  989. 'm_HitGroundTimer' [-Wreorder]
  990. m_HitBlockPos(0, 0, 0),
  991. ^
  992. 4 warnings generated.
  993. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Entities/TNTEntity.cpp -o build/debug/src/Entities/TNTEntity.o
  994. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/FastRandom.cpp -o build/debug/src/FastRandom.o
  995. src/FastRandom.cpp:108:6: warning: unused variable 'Counter' [-Wunused-variable]
  996. int Counter = m_Counter++;
  997. ^
  998. src/FastRandom.cpp:127:6: warning: unused variable 'Counter' [-Wunused-variable]
  999. int Counter = m_Counter++;
  1000. ^
  1001. src/FastRandom.cpp:143:6: warning: unused variable 'Counter' [-Wunused-variable]
  1002. int Counter = m_Counter++;
  1003. ^
  1004. src/FastRandom.cpp:161:6: warning: unused variable 'Counter' [-Wunused-variable]
  1005. int Counter = m_Counter++;
  1006. ^
  1007. 4 warnings generated.
  1008. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/FurnaceRecipe.cpp -o build/debug/src/FurnaceRecipe.o
  1009. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/BioGen.cpp -o build/debug/src/Generating/BioGen.o
  1010. src/Generating/BioGen.cpp:100:14: warning: comparison of constant -1 with expression of type 'EMCSBiome'
  1011. is always false [-Wtautological-constant-out-of-range-compare]
  1012. if (m_Biome == -1)
  1013. ~~~~~~~ ^ ~~
  1014. src/Generating/BioGen.cpp:236:13: warning: comparison of constant -1 with expression of type 'EMCSBiome'
  1015. is always true [-Wtautological-constant-out-of-range-compare]
  1016. if (Biome != -1)
  1017. ~~~~~ ^ ~~
  1018. src/Generating/BioGen.cpp:576:46: warning: comparison of constant -1 with expression of type 'EMCSBiome'
  1019. is always true [-Wtautological-constant-out-of-range-compare]
  1020. if (cChunkDef::GetBiome(a_BiomeMap, x, z) != -1)
  1021. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
  1022. src/Generating/BioGen.cpp:696:46: warning: comparison of constant -1 with expression of type 'EMCSBiome'
  1023. is always true [-Wtautological-constant-out-of-range-compare]
  1024. if (cChunkDef::GetBiome(a_BiomeMap, x, z) != -1)
  1025. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
  1026. 4 warnings generated.
  1027. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/Caves.cpp -o build/debug/src/Generating/Caves.o
  1028. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/ChunkDesc.cpp -o build/debug/src/Generating/ChunkDesc.o
  1029. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/ChunkGenerator.cpp -o build/debug/src/Generating/ChunkGenerator.o
  1030. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/CompoGen.cpp -o build/debug/src/Generating/CompoGen.o
  1031. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/ComposableGenerator.cpp -o build/debug/src/Generating/ComposableGenerator.o
  1032. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/DistortedHeightmap.cpp -o build/debug/src/Generating/DistortedHeightmap.o
  1033. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/EndGen.cpp -o build/debug/src/Generating/EndGen.o
  1034. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/FinishGen.cpp -o build/debug/src/Generating/FinishGen.o
  1035. src/Generating/FinishGen.cpp:202:12: warning: 57 enumeration values not handled in switch: 'biOcean',
  1036. 'biPlains', 'biDesert'... [-Wswitch]
  1037. switch (a_ChunkDesc.GetBiome(x, z))
  1038. ^
  1039. src/Generating/FinishGen.cpp:238:12: warning: 57 enumeration values not handled in switch: 'biOcean',
  1040. 'biPlains', 'biDesert'... [-Wswitch]
  1041. switch (a_ChunkDesc.GetBiome(x, z))
  1042. ^
  1043. 2 warnings generated.
  1044. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/HeiGen.cpp -o build/debug/src/Generating/HeiGen.o
  1045. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/MineShafts.cpp -o build/debug/src/Generating/MineShafts.o
  1046. src/Generating/MineShafts.cpp:322:3: warning: delete called on 'cMineShaft' that is abstract but has
  1047. non-virtual destructor [-Wdelete-non-virtual-dtor]
  1048. delete *itr;
  1049. ^
  1050. 1 warning generated.
  1051. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/Noise3DGenerator.cpp -o build/debug/src/Generating/Noise3DGenerator.o
  1052. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/Ravines.cpp -o build/debug/src/Generating/Ravines.o
  1053. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/StructGen.cpp -o build/debug/src/Generating/StructGen.o
  1054. src/Generating/StructGen.cpp:261:11: warning: 12 enumeration values not handled in switch: 'biRiver',
  1055. 'biHell', 'biSky'... [-Wswitch]
  1056. switch (cChunkDef::GetBiome(a_Biomes, x, z))
  1057. ^
  1058. src/Generating/StructGen.cpp:617:12: warning: 61 enumeration values not handled in switch: 'biOcean',
  1059. 'biPlains', 'biDesert'... [-Wswitch]
  1060. switch (a_ChunkDesc.GetBiome(x, z))
  1061. ^
  1062. src/Generating/StructGen.cpp:651:11: warning: 61 enumeration values not handled in switch: 'biOcean',
  1063. 'biPlains', 'biDesert'... [-Wswitch]
  1064. switch (Biomes[i])
  1065. ^
  1066. src/Generating/StructGen.cpp:63:13: warning: unused function 'SortTreeBlocks' [-Wunused-function]
  1067. static bool SortTreeBlocks(const sSetBlock & a_First, const sSetBlock & a_Second)
  1068. ^
  1069. 4 warnings generated.
  1070. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Generating/Trees.cpp -o build/debug/src/Generating/Trees.o
  1071. src/Generating/Trees.cpp:155:10: warning: 11 enumeration values not handled in switch: 'biOcean',
  1072. 'biDesert', 'biRiver'... [-Wswitch]
  1073. switch (a_Biome)
  1074. ^
  1075. 1 warning generated.
  1076. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Globals.cpp -o build/debug/src/Globals.o
  1077. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Group.cpp -o build/debug/src/Group.o
  1078. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/GroupManager.cpp -o build/debug/src/GroupManager.o
  1079. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/HTTPServer/EnvelopeParser.cpp -o build/debug/src/HTTPServer/EnvelopeParser.o
  1080. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/HTTPServer/HTTPConnection.cpp -o build/debug/src/HTTPServer/HTTPConnection.o
  1081. src/HTTPServer/HTTPConnection.cpp:161:5: warning: delete called on 'cHTTPRequest' that has virtual
  1082. functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
  1083. delete m_CurrentRequest;
  1084. ^
  1085. src/HTTPServer/HTTPConnection.cpp:208:5: warning: delete called on 'cHTTPRequest' that has virtual
  1086. functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
  1087. delete m_CurrentRequest;
  1088. ^
  1089. 2 warnings generated.
  1090. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/HTTPServer/HTTPFormParser.cpp -o build/debug/src/HTTPServer/HTTPFormParser.o
  1091. src/HTTPServer/HTTPFormParser.cpp:103:10: warning: enumeration value 'fpkMultipart' not handled in switch
  1092. [-Wswitch]
  1093. switch (m_Kind)
  1094. ^
  1095. 1 warning generated.
  1096. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/HTTPServer/HTTPMessage.cpp -o build/debug/src/HTTPServer/HTTPMessage.o
  1097. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/HTTPServer/HTTPServer.cpp -o build/debug/src/HTTPServer/HTTPServer.o
  1098. src/HTTPServer/HTTPServer.cpp:216:2: warning: delete called on 'cHTTPConnection' that has virtual
  1099. functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
  1100. delete &a_Connection;
  1101. ^
  1102. 1 warning generated.
  1103. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/HTTPServer/MultipartParser.cpp -o build/debug/src/HTTPServer/MultipartParser.o
  1104. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/HTTPServer/NameValueParser.cpp -o build/debug/src/HTTPServer/NameValueParser.o
  1105. src/HTTPServer/NameValueParser.cpp:107:11: warning: enumeration values 'psInvalid' and 'psFinished' not
  1106. handled in switch [-Wswitch]
  1107. switch (m_State)
  1108. ^
  1109. 1 warning generated.
  1110. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Inventory.cpp -o build/debug/src/Inventory.o
  1111. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Item.cpp -o build/debug/src/Item.o
  1112. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/ItemGrid.cpp -o build/debug/src/ItemGrid.o
  1113. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Items/ItemHandler.cpp -o build/debug/src/Items/ItemHandler.o
  1114. src/Items/ItemHandler.cpp:210:3: warning: delete called on 'cItemHandler' that has virtual functions but
  1115. non-virtual destructor [-Wdelete-non-virtual-dtor]
  1116. delete m_ItemHandler[i];
  1117. ^
  1118. 1 warning generated.
  1119. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/LightingThread.cpp -o build/debug/src/LightingThread.o
  1120. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/LinearInterpolation.cpp -o build/debug/src/LinearInterpolation.o
  1121. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/LineBlockTracer.cpp -o build/debug/src/LineBlockTracer.o
  1122. src/LineBlockTracer.cpp:199:7: warning: unused variable 'Finished' [-Wunused-variable]
  1123. bool Finished = false;
  1124. ^
  1125. 1 warning generated.
  1126. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Log.cpp -o build/debug/src/Log.o
  1127. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/main.cpp -o build/debug/src/main.o
  1128. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Matrix4f.cpp -o build/debug/src/Matrix4f.o
  1129. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/MCLogger.cpp -o build/debug/src/MCLogger.o
  1130. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/MobCensus.cpp -o build/debug/src/MobCensus.o
  1131. src/MobCensus.cpp:22:7: warning: unused variable 'toReturn' [-Wunused-variable]
  1132. bool toReturn = true;
  1133. ^
  1134. src/MobCensus.cpp:39:10: warning: enumeration value 'mfMaxplusone' not handled in switch [-Wswitch]
  1135. switch (a_MobFamily)
  1136. ^
  1137. 2 warnings generated.
  1138. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/MobFamilyCollecter.cpp -o build/debug/src/MobFamilyCollecter.o
  1139. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/MobProximityCounter.cpp -o build/debug/src/MobProximityCounter.o
  1140. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/AggressiveMonster.cpp -o build/debug/src/Mobs/AggressiveMonster.o
  1141. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Bat.cpp -o build/debug/src/Mobs/Bat.o
  1142. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Blaze.cpp -o build/debug/src/Mobs/Blaze.o
  1143. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Cavespider.cpp -o build/debug/src/Mobs/Cavespider.o
  1144. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Chicken.cpp -o build/debug/src/Mobs/Chicken.o
  1145. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Cow.cpp -o build/debug/src/Mobs/Cow.o
  1146. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Creeper.cpp -o build/debug/src/Mobs/Creeper.o
  1147. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/EnderDragon.cpp -o build/debug/src/Mobs/EnderDragon.o
  1148. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Enderman.cpp -o build/debug/src/Mobs/Enderman.o
  1149. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Ghast.cpp -o build/debug/src/Mobs/Ghast.o
  1150. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Giant.cpp -o build/debug/src/Mobs/Giant.o
  1151. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Horse.cpp -o build/debug/src/Mobs/Horse.o
  1152. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/IronGolem.cpp -o build/debug/src/Mobs/IronGolem.o
  1153. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Magmacube.cpp -o build/debug/src/Mobs/Magmacube.o
  1154. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Monster.cpp -o build/debug/src/Mobs/Monster.o
  1155. src/Mobs/Monster.cpp:80:4: warning: field 'm_SoundDeath' will be initialized after field 'm_EMState'
  1156. [-Wreorder]
  1157. , m_SoundDeath(a_SoundDeath)
  1158. ^
  1159. src/Mobs/Monster.cpp:83:4: warning: field 'm_SeePlayerInterval' will be initialized after field
  1160. 'm_EMPersonality' [-Wreorder]
  1161. , m_SeePlayerInterval (0)
  1162. ^
  1163. src/Mobs/Monster.cpp:211:10: warning: enumeration value 'ATTACKING' not handled in switch [-Wswitch]
  1164. switch (m_EMState)
  1165. ^
  1166. src/Mobs/Monster.cpp:628:10: warning: 6 enumeration values not handled in switch: 'mtInvalidType',
  1167. 'mtGiant', 'mtEnderDragon'... [-Wswitch]
  1168. switch (a_Type)
  1169. ^
  1170. src/Mobs/Monster.cpp:665:10: warning: enumeration value 'mfMaxplusone' not handled in switch [-Wswitch]
  1171. switch (a_MobFamily)
  1172. ^
  1173. In file included from src/Mobs/Monster.cpp:6:
  1174. In file included from src/Mobs/../Server.h:14:
  1175. In file included from lib/cryptopp/rsa.h:9:
  1176. In file included from lib/cryptopp/pubkey.h:35:
  1177. In file included from lib/cryptopp/modarith.h:7:
  1178. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1179. [-Wtautological-compare]
  1180. if (a < 0)
  1181. ~ ^ ~
  1182. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  1183. 'CryptoPP::IntToString<unsigned long>' requested here
  1184. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  1185. ^
  1186. In file included from src/Mobs/Monster.cpp:6:
  1187. In file included from src/Mobs/../Server.h:14:
  1188. In file included from lib/cryptopp/rsa.h:9:
  1189. In file included from lib/cryptopp/pubkey.h:35:
  1190. In file included from lib/cryptopp/modarith.h:7:
  1191. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1192. [-Wtautological-compare]
  1193. if (a < 0)
  1194. ~ ^ ~
  1195. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  1196. 'CryptoPP::IntToString<unsigned int>' requested here
  1197. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  1198. ^
  1199. In file included from src/Mobs/Monster.cpp:6:
  1200. In file included from src/Mobs/../Server.h:14:
  1201. In file included from lib/cryptopp/rsa.h:9:
  1202. In file included from lib/cryptopp/pubkey.h:36:
  1203. In file included from lib/cryptopp/filters.h:11:
  1204. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  1205. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  1206. ^
  1207. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  1208. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  1209. ^
  1210. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  1211. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  1212. ^
  1213. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  1214. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  1215. ^
  1216. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  1217. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  1218. ^
  1219. <scratch space>:171:1: note: expanded from here
  1220. cryptopp_assert_26
  1221. ^
  1222. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  1223. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  1224. requested here
  1225. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  1226. ^
  1227. In file included from src/Mobs/Monster.cpp:6:
  1228. In file included from src/Mobs/../Server.h:14:
  1229. In file included from lib/cryptopp/rsa.h:9:
  1230. In file included from lib/cryptopp/pubkey.h:36:
  1231. In file included from lib/cryptopp/filters.h:11:
  1232. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  1233. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  1234. ^
  1235. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  1236. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  1237. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  1238. ^
  1239. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  1240. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  1241. return AlgorithmParameters()(name, value, throwIfNotUsed);
  1242. ^
  1243. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  1244. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  1245. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  1246. ^
  1247. In file included from src/Mobs/Monster.cpp:6:
  1248. In file included from src/Mobs/../Server.h:14:
  1249. In file included from lib/cryptopp/rsa.h:9:
  1250. In file included from lib/cryptopp/pubkey.h:35:
  1251. In file included from lib/cryptopp/modarith.h:7:
  1252. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  1253. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  1254. ^
  1255. 10 warnings generated.
  1256. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Mooshroom.cpp -o build/debug/src/Mobs/Mooshroom.o
  1257. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/PassiveAggressiveMonster.cpp -o build/debug/src/Mobs/PassiveAggressiveMonster.o
  1258. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/PassiveMonster.cpp -o build/debug/src/Mobs/PassiveMonster.o
  1259. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Pig.cpp -o build/debug/src/Mobs/Pig.o
  1260. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Sheep.cpp -o build/debug/src/Mobs/Sheep.o
  1261. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Skeleton.cpp -o build/debug/src/Mobs/Skeleton.o
  1262. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Slime.cpp -o build/debug/src/Mobs/Slime.o
  1263. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/SnowGolem.cpp -o build/debug/src/Mobs/SnowGolem.o
  1264. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Spider.cpp -o build/debug/src/Mobs/Spider.o
  1265. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Squid.cpp -o build/debug/src/Mobs/Squid.o
  1266. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Villager.cpp -o build/debug/src/Mobs/Villager.o
  1267. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Witch.cpp -o build/debug/src/Mobs/Witch.o
  1268. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Wither.cpp -o build/debug/src/Mobs/Wither.o
  1269. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Wolf.cpp -o build/debug/src/Mobs/Wolf.o
  1270. src/Mobs/Wolf.cpp:14:2: warning: field 'm_IsAngry' will be initialized after field 'm_IsTame' [-Wreorder]
  1271. m_IsAngry(false),
  1272. ^
  1273. src/Mobs/Wolf.cpp:15:2: warning: field 'm_IsTame' will be initialized after field 'm_IsSitting'
  1274. [-Wreorder]
  1275. m_IsTame(false),
  1276. ^
  1277. 2 warnings generated.
  1278. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Zombie.cpp -o build/debug/src/Mobs/Zombie.o
  1279. src/Mobs/Zombie.cpp:13:2: warning: field 'm_bIsConverting' will be initialized after field
  1280. 'm_bIsVillagerZombie' [-Wreorder]
  1281. m_bIsConverting(false),
  1282. ^
  1283. 1 warning generated.
  1284. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Mobs/Zombiepigman.cpp -o build/debug/src/Mobs/Zombiepigman.o
  1285. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/MobSpawner.cpp -o build/debug/src/MobSpawner.o
  1286. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/MonsterConfig.cpp -o build/debug/src/MonsterConfig.o
  1287. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Noise.cpp -o build/debug/src/Noise.o
  1288. src/Noise.cpp:503:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1289. ...IntNoise2D(BaseX - 1, BaseY - 1), IntNoise2D(BaseX, BaseY - 1), IntNoise2D(BaseX + 1, BaseY - 1), IntNoise2D(BaseX + 2, BaseY - 1),
  1290. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1291. { }
  1292. src/Noise.cpp:504:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1293. ...IntNoise2D(BaseX - 1, BaseY), IntNoise2D(BaseX, BaseY), IntNoise2D(BaseX + 1, BaseY), IntNoise2D(BaseX + 2, BaseY),
  1294. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1295. { }
  1296. src/Noise.cpp:505:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1297. ...IntNoise2D(BaseX - 1, BaseY + 1), IntNoise2D(BaseX, BaseY + 1), IntNoise2D(BaseX + 1, BaseY + 1), IntNoise2D(BaseX + 2, BaseY + 1),
  1298. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1299. { }
  1300. src/Noise.cpp:506:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1301. ...IntNoise2D(BaseX - 1, BaseY + 2), IntNoise2D(BaseX, BaseY + 2), IntNoise2D(BaseX + 1, BaseY + 2), IntNoise2D(BaseX + 2, BaseY + 2),
  1302. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1303. { }
  1304. src/Noise.cpp:531:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1305. ...IntNoise3D(BaseX - 1, BaseY - 1, BaseZ - 1), IntNoise3D(BaseX, BaseY - 1, BaseZ - 1), IntNoise3D(BaseX + 1, BaseY - 1, BaseZ - 1), IntNoise3D(BaseX + 2, BaseY - 1, BaseZ - 1),
  1306. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1307. { }
  1308. src/Noise.cpp:532:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1309. ...IntNoise3D(BaseX - 1, BaseY, BaseZ - 1), IntNoise3D(BaseX, BaseY, BaseZ - 1), IntNoise3D(BaseX + 1, BaseY, BaseZ - 1), IntNoise3D(BaseX + 2, BaseY, BaseZ - 1),
  1310. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1311. { }
  1312. src/Noise.cpp:533:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1313. ...IntNoise3D(BaseX - 1, BaseY + 1, BaseZ - 1), IntNoise3D(BaseX, BaseY + 1, BaseZ - 1), IntNoise3D(BaseX + 1, BaseY + 1, BaseZ - 1), IntNoise3D(BaseX + 2, BaseY + 1, BaseZ - 1),
  1314. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1315. { }
  1316. src/Noise.cpp:534:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1317. ...IntNoise3D(BaseX - 1, BaseY + 2, BaseZ - 1), IntNoise3D(BaseX, BaseY + 2, BaseZ - 1), IntNoise3D(BaseX + 1, BaseY + 2, BaseZ - 1), IntNoise3D(BaseX + 2, BaseY + 2, BaseZ - 1),
  1318. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1319. { }
  1320. src/Noise.cpp:544:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1321. ...IntNoise3D( BaseX-1, BaseY-1, BaseZ ), IntNoise3D( BaseX, BaseY-1, BaseZ ), IntNoise3D( BaseX+1, BaseY-1, BaseZ ), IntNoise3D( BaseX+2, BaseY-1, BaseZ ),
  1322. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1323. { }
  1324. src/Noise.cpp:545:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1325. ...IntNoise3D( BaseX-1, BaseY, BaseZ ), IntNoise3D( BaseX, BaseY, BaseZ ), IntNoise3D( BaseX+1, BaseY, BaseZ ), IntNoise3D( BaseX+2, BaseY, BaseZ ),
  1326. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1327. { }
  1328. src/Noise.cpp:546:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1329. ...IntNoise3D( BaseX-1, BaseY+1, BaseZ ), IntNoise3D( BaseX, BaseY+1, BaseZ ), IntNoise3D( BaseX+1, BaseY+1, BaseZ ), IntNoise3D( BaseX+2, BaseY+1, BaseZ ),
  1330. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1331. { }
  1332. src/Noise.cpp:547:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1333. ...IntNoise3D( BaseX-1, BaseY+2, BaseZ ), IntNoise3D( BaseX, BaseY+2, BaseZ ), IntNoise3D( BaseX+1, BaseY+2, BaseZ ), IntNoise3D( BaseX+2, BaseY+2, BaseZ ),
  1334. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1335. { }
  1336. src/Noise.cpp:556:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1337. ...IntNoise3D( BaseX-1, BaseY-1, BaseZ+1 ), IntNoise3D( BaseX, BaseY-1, BaseZ+1 ), IntNoise3D( BaseX+1, BaseY-1, BaseZ+1 ), IntNoise3D( BaseX+2, BaseY-1, BaseZ+1 ),
  1338. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1339. { }
  1340. src/Noise.cpp:557:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1341. ...IntNoise3D( BaseX-1, BaseY, BaseZ+1 ), IntNoise3D( BaseX, BaseY, BaseZ+1 ), IntNoise3D( BaseX+1, BaseY, BaseZ+1 ), IntNoise3D( BaseX+2, BaseY, BaseZ+1 ),
  1342. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1343. { }
  1344. src/Noise.cpp:558:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1345. ...IntNoise3D( BaseX-1, BaseY+1, BaseZ+1 ), IntNoise3D( BaseX, BaseY+1, BaseZ+1 ), IntNoise3D( BaseX+1, BaseY+1, BaseZ+1 ), IntNoise3D( BaseX+2, BaseY+1, BaseZ+1 ),
  1346. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1347. { }
  1348. src/Noise.cpp:559:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1349. ...IntNoise3D( BaseX-1, BaseY+2, BaseZ+1 ), IntNoise3D( BaseX, BaseY+2, BaseZ+1 ), IntNoise3D( BaseX+1, BaseY+2, BaseZ+1 ), IntNoise3D( BaseX+2, BaseY+2, BaseZ+1 ),
  1350. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1351. { }
  1352. src/Noise.cpp:568:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1353. ...IntNoise3D( BaseX-1, BaseY-1, BaseZ+2 ), IntNoise3D( BaseX, BaseY-1, BaseZ+2 ), IntNoise3D( BaseX+1, BaseY-1, BaseZ+2 ), IntNoise3D( BaseX+2, BaseY-1, BaseZ+2 ),
  1354. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1355. { }
  1356. src/Noise.cpp:569:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1357. ...IntNoise3D( BaseX-1, BaseY, BaseZ+2 ), IntNoise3D( BaseX, BaseY, BaseZ+2 ), IntNoise3D( BaseX+1, BaseY, BaseZ+2 ), IntNoise3D( BaseX+2, BaseY, BaseZ+2 ),
  1358. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1359. { }
  1360. src/Noise.cpp:570:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1361. ...IntNoise3D( BaseX-1, BaseY+1, BaseZ+2 ), IntNoise3D( BaseX, BaseY+1, BaseZ+2 ), IntNoise3D( BaseX+1, BaseY+1, BaseZ+2 ), IntNoise3D( BaseX+2, BaseY+1, BaseZ+2 ),
  1362. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1363. { }
  1364. src/Noise.cpp:571:3: warning: suggest braces around initialization of subobject [-Wmissing-braces]
  1365. ...IntNoise3D( BaseX-1, BaseY+2, BaseZ+2 ), IntNoise3D( BaseX, BaseY+2, BaseZ+2 ), IntNoise3D( BaseX+1, BaseY+2, BaseZ+2 ), IntNoise3D( BaseX+2, BaseY+2, BaseZ+2 ),
  1366. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1367. { }
  1368. 20 warnings generated.
  1369. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/BlockingTCPLink.cpp -o build/debug/src/OSSupport/BlockingTCPLink.o
  1370. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/CriticalSection.cpp -o build/debug/src/OSSupport/CriticalSection.o
  1371. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/Event.cpp -o build/debug/src/OSSupport/Event.o
  1372. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/File.cpp -o build/debug/src/OSSupport/File.o
  1373. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/GZipFile.cpp -o build/debug/src/OSSupport/GZipFile.o
  1374. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/IsThread.cpp -o build/debug/src/OSSupport/IsThread.o
  1375. src/OSSupport/IsThread.cpp:54:2: warning: field 'm_ThreadName' will be initialized after field
  1376. 'm_ShouldTerminate' [-Wreorder]
  1377. m_ThreadName(iThreadName),
  1378. ^
  1379. 1 warning generated.
  1380. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/ListenThread.cpp -o build/debug/src/OSSupport/ListenThread.o
  1381. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/Semaphore.cpp -o build/debug/src/OSSupport/Semaphore.o
  1382. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/Sleep.cpp -o build/debug/src/OSSupport/Sleep.o
  1383. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/Socket.cpp -o build/debug/src/OSSupport/Socket.o
  1384. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/SocketThreads.cpp -o build/debug/src/OSSupport/SocketThreads.o
  1385. src/OSSupport/SocketThreads.cpp:30:3: warning: delete called on 'cSocketThreads::cSocketThread' that has
  1386. virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
  1387. delete *itr;
  1388. ^
  1389. src/OSSupport/SocketThreads.cpp:62:3: warning: delete called on 'cSocketThreads::cSocketThread' that has
  1390. virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
  1391. delete Thread;
  1392. ^
  1393. 2 warnings generated.
  1394. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/Thread.cpp -o build/debug/src/OSSupport/Thread.o
  1395. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/OSSupport/Timer.cpp -o build/debug/src/OSSupport/Timer.o
  1396. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Piston.cpp -o build/debug/src/Piston.o
  1397. In file included from src/Piston.cpp:10:
  1398. In file included from src/Server.h:14:
  1399. In file included from lib/cryptopp/rsa.h:9:
  1400. In file included from lib/cryptopp/pubkey.h:35:
  1401. In file included from lib/cryptopp/modarith.h:7:
  1402. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1403. [-Wtautological-compare]
  1404. if (a < 0)
  1405. ~ ^ ~
  1406. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  1407. 'CryptoPP::IntToString<unsigned long>' requested here
  1408. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  1409. ^
  1410. In file included from src/Piston.cpp:10:
  1411. In file included from src/Server.h:14:
  1412. In file included from lib/cryptopp/rsa.h:9:
  1413. In file included from lib/cryptopp/pubkey.h:35:
  1414. In file included from lib/cryptopp/modarith.h:7:
  1415. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1416. [-Wtautological-compare]
  1417. if (a < 0)
  1418. ~ ^ ~
  1419. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  1420. 'CryptoPP::IntToString<unsigned int>' requested here
  1421. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  1422. ^
  1423. In file included from src/Piston.cpp:10:
  1424. In file included from src/Server.h:14:
  1425. In file included from lib/cryptopp/rsa.h:9:
  1426. In file included from lib/cryptopp/pubkey.h:36:
  1427. In file included from lib/cryptopp/filters.h:11:
  1428. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  1429. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  1430. ^
  1431. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  1432. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  1433. ^
  1434. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  1435. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  1436. ^
  1437. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  1438. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  1439. ^
  1440. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  1441. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  1442. ^
  1443. <scratch space>:201:1: note: expanded from here
  1444. cryptopp_assert_26
  1445. ^
  1446. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  1447. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  1448. requested here
  1449. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  1450. ^
  1451. In file included from src/Piston.cpp:10:
  1452. In file included from src/Server.h:14:
  1453. In file included from lib/cryptopp/rsa.h:9:
  1454. In file included from lib/cryptopp/pubkey.h:36:
  1455. In file included from lib/cryptopp/filters.h:11:
  1456. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  1457. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  1458. ^
  1459. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  1460. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  1461. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  1462. ^
  1463. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  1464. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  1465. return AlgorithmParameters()(name, value, throwIfNotUsed);
  1466. ^
  1467. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  1468. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  1469. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  1470. ^
  1471. In file included from src/Piston.cpp:10:
  1472. In file included from src/Server.h:14:
  1473. In file included from lib/cryptopp/rsa.h:9:
  1474. In file included from lib/cryptopp/pubkey.h:35:
  1475. In file included from lib/cryptopp/modarith.h:7:
  1476. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  1477. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  1478. ^
  1479. 5 warnings generated.
  1480. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/ProbabDistrib.cpp -o build/debug/src/ProbabDistrib.o
  1481. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Protocol/ChunkDataSerializer.cpp -o build/debug/src/Protocol/ChunkDataSerializer.o
  1482. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Protocol/Protocol125.cpp -o build/debug/src/Protocol/Protocol125.o
  1483. src/Protocol/Protocol125.cpp:1730:10: warning: 16 enumeration values not handled in switch:
  1484. 'mtInvalidType', 'mtSpider', 'mtGiant'... [-Wswitch]
  1485. switch (a_Mob.GetMobType())
  1486. ^
  1487. In file included from src/Protocol/Protocol125.cpp:27:
  1488. In file included from src/Protocol/../Server.h:14:
  1489. In file included from lib/cryptopp/rsa.h:9:
  1490. In file included from lib/cryptopp/pubkey.h:35:
  1491. In file included from lib/cryptopp/modarith.h:7:
  1492. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1493. [-Wtautological-compare]
  1494. if (a < 0)
  1495. ~ ^ ~
  1496. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  1497. 'CryptoPP::IntToString<unsigned long>' requested here
  1498. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  1499. ^
  1500. In file included from src/Protocol/Protocol125.cpp:27:
  1501. In file included from src/Protocol/../Server.h:14:
  1502. In file included from lib/cryptopp/rsa.h:9:
  1503. In file included from lib/cryptopp/pubkey.h:35:
  1504. In file included from lib/cryptopp/modarith.h:7:
  1505. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1506. [-Wtautological-compare]
  1507. if (a < 0)
  1508. ~ ^ ~
  1509. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  1510. 'CryptoPP::IntToString<unsigned int>' requested here
  1511. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  1512. ^
  1513. In file included from src/Protocol/Protocol125.cpp:27:
  1514. In file included from src/Protocol/../Server.h:14:
  1515. In file included from lib/cryptopp/rsa.h:9:
  1516. In file included from lib/cryptopp/pubkey.h:36:
  1517. In file included from lib/cryptopp/filters.h:11:
  1518. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  1519. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  1520. ^
  1521. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  1522. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  1523. ^
  1524. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  1525. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  1526. ^
  1527. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  1528. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  1529. ^
  1530. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  1531. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  1532. ^
  1533. <scratch space>:202:1: note: expanded from here
  1534. cryptopp_assert_26
  1535. ^
  1536. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  1537. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  1538. requested here
  1539. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  1540. ^
  1541. In file included from src/Protocol/Protocol125.cpp:27:
  1542. In file included from src/Protocol/../Server.h:14:
  1543. In file included from lib/cryptopp/rsa.h:9:
  1544. In file included from lib/cryptopp/pubkey.h:36:
  1545. In file included from lib/cryptopp/filters.h:11:
  1546. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  1547. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  1548. ^
  1549. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  1550. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  1551. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  1552. ^
  1553. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  1554. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  1555. return AlgorithmParameters()(name, value, throwIfNotUsed);
  1556. ^
  1557. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  1558. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  1559. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  1560. ^
  1561. In file included from src/Protocol/Protocol125.cpp:27:
  1562. In file included from src/Protocol/../Server.h:14:
  1563. In file included from lib/cryptopp/rsa.h:9:
  1564. In file included from lib/cryptopp/pubkey.h:35:
  1565. In file included from lib/cryptopp/modarith.h:7:
  1566. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  1567. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  1568. ^
  1569. 6 warnings generated.
  1570. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Protocol/Protocol132.cpp -o build/debug/src/Protocol/Protocol132.o
  1571. In file included from src/Protocol/Protocol132.cpp:8:
  1572. In file included from lib/cryptopp/randpool.h:5:
  1573. In file included from lib/cryptopp/filters.h:6:
  1574. In file included from lib/cryptopp/simple.h:10:
  1575. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1576. [-Wtautological-compare]
  1577. if (a < 0)
  1578. ~ ^ ~
  1579. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  1580. 'CryptoPP::IntToString<unsigned long>' requested here
  1581. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  1582. ^
  1583. In file included from src/Protocol/Protocol132.cpp:8:
  1584. In file included from lib/cryptopp/randpool.h:5:
  1585. In file included from lib/cryptopp/filters.h:6:
  1586. In file included from lib/cryptopp/simple.h:10:
  1587. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1588. [-Wtautological-compare]
  1589. if (a < 0)
  1590. ~ ^ ~
  1591. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  1592. 'CryptoPP::IntToString<unsigned int>' requested here
  1593. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  1594. ^
  1595. In file included from src/Protocol/Protocol132.cpp:8:
  1596. In file included from lib/cryptopp/randpool.h:5:
  1597. In file included from lib/cryptopp/filters.h:11:
  1598. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  1599. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  1600. ^
  1601. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  1602. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  1603. ^
  1604. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  1605. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  1606. ^
  1607. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  1608. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  1609. ^
  1610. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  1611. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  1612. ^
  1613. <scratch space>:122:1: note: expanded from here
  1614. cryptopp_assert_26
  1615. ^
  1616. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  1617. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  1618. requested here
  1619. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  1620. ^
  1621. In file included from src/Protocol/Protocol132.cpp:8:
  1622. In file included from lib/cryptopp/randpool.h:5:
  1623. In file included from lib/cryptopp/filters.h:11:
  1624. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  1625. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  1626. ^
  1627. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  1628. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  1629. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  1630. ^
  1631. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  1632. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  1633. return AlgorithmParameters()(name, value, throwIfNotUsed);
  1634. ^
  1635. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  1636. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  1637. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  1638. ^
  1639. In file included from src/Protocol/Protocol132.cpp:8:
  1640. In file included from lib/cryptopp/randpool.h:5:
  1641. In file included from lib/cryptopp/filters.h:6:
  1642. In file included from lib/cryptopp/simple.h:10:
  1643. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  1644. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  1645. ^
  1646. 5 warnings generated.
  1647. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Protocol/Protocol14x.cpp -o build/debug/src/Protocol/Protocol14x.o
  1648. In file included from src/Protocol/Protocol14x.cpp:15:
  1649. In file included from src/Protocol/Protocol14x.h:20:
  1650. In file included from src/Protocol/Protocol132.h:13:
  1651. In file included from lib/cryptopp/modes.h:8:
  1652. In file included from lib/cryptopp/secblock.h:7:
  1653. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1654. [-Wtautological-compare]
  1655. if (a < 0)
  1656. ~ ^ ~
  1657. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  1658. 'CryptoPP::IntToString<unsigned long>' requested here
  1659. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  1660. ^
  1661. In file included from src/Protocol/Protocol14x.cpp:15:
  1662. In file included from src/Protocol/Protocol14x.h:20:
  1663. In file included from src/Protocol/Protocol132.h:13:
  1664. In file included from lib/cryptopp/modes.h:8:
  1665. In file included from lib/cryptopp/secblock.h:7:
  1666. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1667. [-Wtautological-compare]
  1668. if (a < 0)
  1669. ~ ^ ~
  1670. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  1671. 'CryptoPP::IntToString<unsigned int>' requested here
  1672. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  1673. ^
  1674. In file included from src/Protocol/Protocol14x.cpp:15:
  1675. In file included from src/Protocol/Protocol14x.h:20:
  1676. In file included from src/Protocol/Protocol132.h:13:
  1677. In file included from lib/cryptopp/modes.h:12:
  1678. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  1679. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  1680. ^
  1681. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  1682. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  1683. ^
  1684. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  1685. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  1686. ^
  1687. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  1688. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  1689. ^
  1690. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  1691. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  1692. ^
  1693. <scratch space>:234:1: note: expanded from here
  1694. cryptopp_assert_26
  1695. ^
  1696. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  1697. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  1698. requested here
  1699. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  1700. ^
  1701. In file included from src/Protocol/Protocol14x.cpp:15:
  1702. In file included from src/Protocol/Protocol14x.h:20:
  1703. In file included from src/Protocol/Protocol132.h:13:
  1704. In file included from lib/cryptopp/modes.h:12:
  1705. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  1706. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  1707. ^
  1708. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  1709. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  1710. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  1711. ^
  1712. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  1713. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  1714. return AlgorithmParameters()(name, value, throwIfNotUsed);
  1715. ^
  1716. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  1717. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  1718. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  1719. ^
  1720. In file included from src/Protocol/Protocol14x.cpp:15:
  1721. In file included from src/Protocol/Protocol14x.h:20:
  1722. In file included from src/Protocol/Protocol132.h:13:
  1723. In file included from lib/cryptopp/modes.h:8:
  1724. In file included from lib/cryptopp/secblock.h:7:
  1725. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  1726. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  1727. ^
  1728. 5 warnings generated.
  1729. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Protocol/Protocol15x.cpp -o build/debug/src/Protocol/Protocol15x.o
  1730. In file included from src/Protocol/Protocol15x.cpp:12:
  1731. In file included from src/Protocol/Protocol15x.h:17:
  1732. In file included from src/Protocol/Protocol14x.h:20:
  1733. In file included from src/Protocol/Protocol132.h:13:
  1734. In file included from lib/cryptopp/modes.h:8:
  1735. In file included from lib/cryptopp/secblock.h:7:
  1736. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1737. [-Wtautological-compare]
  1738. if (a < 0)
  1739. ~ ^ ~
  1740. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  1741. 'CryptoPP::IntToString<unsigned long>' requested here
  1742. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  1743. ^
  1744. In file included from src/Protocol/Protocol15x.cpp:12:
  1745. In file included from src/Protocol/Protocol15x.h:17:
  1746. In file included from src/Protocol/Protocol14x.h:20:
  1747. In file included from src/Protocol/Protocol132.h:13:
  1748. In file included from lib/cryptopp/modes.h:8:
  1749. In file included from lib/cryptopp/secblock.h:7:
  1750. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1751. [-Wtautological-compare]
  1752. if (a < 0)
  1753. ~ ^ ~
  1754. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  1755. 'CryptoPP::IntToString<unsigned int>' requested here
  1756. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  1757. ^
  1758. In file included from src/Protocol/Protocol15x.cpp:12:
  1759. In file included from src/Protocol/Protocol15x.h:17:
  1760. In file included from src/Protocol/Protocol14x.h:20:
  1761. In file included from src/Protocol/Protocol132.h:13:
  1762. In file included from lib/cryptopp/modes.h:8:
  1763. In file included from lib/cryptopp/secblock.h:7:
  1764. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  1765. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  1766. ^
  1767. 3 warnings generated.
  1768. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Protocol/Protocol16x.cpp -o build/debug/src/Protocol/Protocol16x.o
  1769. In file included from src/Protocol/Protocol16x.cpp:16:
  1770. In file included from src/Protocol/Protocol16x.h:21:
  1771. In file included from src/Protocol/Protocol15x.h:17:
  1772. In file included from src/Protocol/Protocol14x.h:20:
  1773. In file included from src/Protocol/Protocol132.h:13:
  1774. In file included from lib/cryptopp/modes.h:8:
  1775. In file included from lib/cryptopp/secblock.h:7:
  1776. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1777. [-Wtautological-compare]
  1778. if (a < 0)
  1779. ~ ^ ~
  1780. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  1781. 'CryptoPP::IntToString<unsigned long>' requested here
  1782. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  1783. ^
  1784. In file included from src/Protocol/Protocol16x.cpp:16:
  1785. In file included from src/Protocol/Protocol16x.h:21:
  1786. In file included from src/Protocol/Protocol15x.h:17:
  1787. In file included from src/Protocol/Protocol14x.h:20:
  1788. In file included from src/Protocol/Protocol132.h:13:
  1789. In file included from lib/cryptopp/modes.h:8:
  1790. In file included from lib/cryptopp/secblock.h:7:
  1791. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1792. [-Wtautological-compare]
  1793. if (a < 0)
  1794. ~ ^ ~
  1795. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  1796. 'CryptoPP::IntToString<unsigned int>' requested here
  1797. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  1798. ^
  1799. In file included from src/Protocol/Protocol16x.cpp:16:
  1800. In file included from src/Protocol/Protocol16x.h:21:
  1801. In file included from src/Protocol/Protocol15x.h:17:
  1802. In file included from src/Protocol/Protocol14x.h:20:
  1803. In file included from src/Protocol/Protocol132.h:13:
  1804. In file included from lib/cryptopp/modes.h:8:
  1805. In file included from lib/cryptopp/secblock.h:7:
  1806. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  1807. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  1808. ^
  1809. 3 warnings generated.
  1810. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Protocol/Protocol17x.cpp -o build/debug/src/Protocol/Protocol17x.o
  1811. src/Protocol/Protocol17x.cpp:1689:10: warning: 5 enumeration values not handled in switch: 'etEntity',
  1812. 'etFallingBlock', 'etBoat'... [-Wswitch]
  1813. switch (a_Entity.GetEntityType())
  1814. ^
  1815. src/Protocol/Protocol17x.cpp:1744:10: warning: 16 enumeration values not handled in switch:
  1816. 'mtInvalidType', 'mtSpider', 'mtGiant'... [-Wswitch]
  1817. switch (a_Mob.GetMobType())
  1818. ^
  1819. src/Protocol/Protocol17x.cpp:1934:19: warning: unused variable 'Mob' [-Wunused-variable]
  1820. const cMonster & Mob = (const cMonster &)a_Entity;
  1821. ^
  1822. In file included from src/Protocol/Protocol17x.cpp:12:
  1823. In file included from src/Protocol/Protocol17x.h:19:
  1824. In file included from lib/cryptopp/modes.h:8:
  1825. In file included from lib/cryptopp/secblock.h:7:
  1826. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1827. [-Wtautological-compare]
  1828. if (a < 0)
  1829. ~ ^ ~
  1830. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  1831. 'CryptoPP::IntToString<unsigned long>' requested here
  1832. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  1833. ^
  1834. In file included from src/Protocol/Protocol17x.cpp:12:
  1835. In file included from src/Protocol/Protocol17x.h:19:
  1836. In file included from lib/cryptopp/modes.h:8:
  1837. In file included from lib/cryptopp/secblock.h:7:
  1838. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1839. [-Wtautological-compare]
  1840. if (a < 0)
  1841. ~ ^ ~
  1842. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  1843. 'CryptoPP::IntToString<unsigned int>' requested here
  1844. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  1845. ^
  1846. In file included from src/Protocol/Protocol17x.cpp:12:
  1847. In file included from src/Protocol/Protocol17x.h:19:
  1848. In file included from lib/cryptopp/modes.h:12:
  1849. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  1850. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  1851. ^
  1852. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  1853. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  1854. ^
  1855. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  1856. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  1857. ^
  1858. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  1859. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  1860. ^
  1861. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  1862. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  1863. ^
  1864. <scratch space>:234:1: note: expanded from here
  1865. cryptopp_assert_26
  1866. ^
  1867. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  1868. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  1869. requested here
  1870. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  1871. ^
  1872. In file included from src/Protocol/Protocol17x.cpp:12:
  1873. In file included from src/Protocol/Protocol17x.h:19:
  1874. In file included from lib/cryptopp/modes.h:12:
  1875. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  1876. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  1877. ^
  1878. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  1879. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  1880. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  1881. ^
  1882. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  1883. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  1884. return AlgorithmParameters()(name, value, throwIfNotUsed);
  1885. ^
  1886. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  1887. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  1888. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  1889. ^
  1890. In file included from src/Protocol/Protocol17x.cpp:12:
  1891. In file included from src/Protocol/Protocol17x.h:19:
  1892. In file included from lib/cryptopp/modes.h:8:
  1893. In file included from lib/cryptopp/secblock.h:7:
  1894. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  1895. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  1896. ^
  1897. 8 warnings generated.
  1898. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Protocol/ProtocolRecognizer.cpp -o build/debug/src/Protocol/ProtocolRecognizer.o
  1899. In file included from src/Protocol/ProtocolRecognizer.cpp:11:
  1900. In file included from src/Protocol/Protocol132.h:13:
  1901. In file included from lib/cryptopp/modes.h:8:
  1902. In file included from lib/cryptopp/secblock.h:7:
  1903. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1904. [-Wtautological-compare]
  1905. if (a < 0)
  1906. ~ ^ ~
  1907. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  1908. 'CryptoPP::IntToString<unsigned long>' requested here
  1909. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  1910. ^
  1911. In file included from src/Protocol/ProtocolRecognizer.cpp:11:
  1912. In file included from src/Protocol/Protocol132.h:13:
  1913. In file included from lib/cryptopp/modes.h:8:
  1914. In file included from lib/cryptopp/secblock.h:7:
  1915. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1916. [-Wtautological-compare]
  1917. if (a < 0)
  1918. ~ ^ ~
  1919. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  1920. 'CryptoPP::IntToString<unsigned int>' requested here
  1921. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  1922. ^
  1923. In file included from src/Protocol/ProtocolRecognizer.cpp:11:
  1924. In file included from src/Protocol/Protocol132.h:13:
  1925. In file included from lib/cryptopp/modes.h:12:
  1926. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  1927. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  1928. ^
  1929. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  1930. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  1931. ^
  1932. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  1933. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  1934. ^
  1935. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  1936. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  1937. ^
  1938. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  1939. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  1940. ^
  1941. <scratch space>:234:1: note: expanded from here
  1942. cryptopp_assert_26
  1943. ^
  1944. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  1945. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  1946. requested here
  1947. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  1948. ^
  1949. In file included from src/Protocol/ProtocolRecognizer.cpp:11:
  1950. In file included from src/Protocol/Protocol132.h:13:
  1951. In file included from lib/cryptopp/modes.h:12:
  1952. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  1953. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  1954. ^
  1955. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  1956. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  1957. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  1958. ^
  1959. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  1960. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  1961. return AlgorithmParameters()(name, value, throwIfNotUsed);
  1962. ^
  1963. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  1964. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  1965. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  1966. ^
  1967. In file included from src/Protocol/ProtocolRecognizer.cpp:11:
  1968. In file included from src/Protocol/Protocol132.h:13:
  1969. In file included from lib/cryptopp/modes.h:8:
  1970. In file included from lib/cryptopp/secblock.h:7:
  1971. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  1972. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  1973. ^
  1974. 5 warnings generated.
  1975. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/RCONServer.cpp -o build/debug/src/RCONServer.o
  1976. src/RCONServer.cpp:189:4: warning: delete called on 'cRCONServer::cConnection' that has virtual functions
  1977. but non-virtual destructor [-Wdelete-non-virtual-dtor]
  1978. delete this;
  1979. ^
  1980. src/RCONServer.cpp:204:4: warning: delete called on 'cRCONServer::cConnection' that has virtual functions
  1981. but non-virtual destructor [-Wdelete-non-virtual-dtor]
  1982. delete this;
  1983. ^
  1984. src/RCONServer.cpp:228:2: warning: delete called on 'cRCONServer::cConnection' that has virtual functions
  1985. but non-virtual destructor [-Wdelete-non-virtual-dtor]
  1986. delete this;
  1987. ^
  1988. In file included from src/RCONServer.cpp:9:
  1989. In file included from src/Server.h:14:
  1990. In file included from lib/cryptopp/rsa.h:9:
  1991. In file included from lib/cryptopp/pubkey.h:35:
  1992. In file included from lib/cryptopp/modarith.h:7:
  1993. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  1994. [-Wtautological-compare]
  1995. if (a < 0)
  1996. ~ ^ ~
  1997. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  1998. 'CryptoPP::IntToString<unsigned long>' requested here
  1999. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  2000. ^
  2001. In file included from src/RCONServer.cpp:9:
  2002. In file included from src/Server.h:14:
  2003. In file included from lib/cryptopp/rsa.h:9:
  2004. In file included from lib/cryptopp/pubkey.h:35:
  2005. In file included from lib/cryptopp/modarith.h:7:
  2006. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2007. [-Wtautological-compare]
  2008. if (a < 0)
  2009. ~ ^ ~
  2010. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  2011. 'CryptoPP::IntToString<unsigned int>' requested here
  2012. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  2013. ^
  2014. In file included from src/RCONServer.cpp:9:
  2015. In file included from src/Server.h:14:
  2016. In file included from lib/cryptopp/rsa.h:9:
  2017. In file included from lib/cryptopp/pubkey.h:36:
  2018. In file included from lib/cryptopp/filters.h:11:
  2019. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  2020. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  2021. ^
  2022. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  2023. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  2024. ^
  2025. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  2026. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  2027. ^
  2028. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  2029. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  2030. ^
  2031. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  2032. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  2033. ^
  2034. <scratch space>:122:1: note: expanded from here
  2035. cryptopp_assert_26
  2036. ^
  2037. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  2038. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  2039. requested here
  2040. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  2041. ^
  2042. In file included from src/RCONServer.cpp:9:
  2043. In file included from src/Server.h:14:
  2044. In file included from lib/cryptopp/rsa.h:9:
  2045. In file included from lib/cryptopp/pubkey.h:36:
  2046. In file included from lib/cryptopp/filters.h:11:
  2047. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2048. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2049. ^
  2050. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2051. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  2052. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2053. ^
  2054. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  2055. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  2056. return AlgorithmParameters()(name, value, throwIfNotUsed);
  2057. ^
  2058. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  2059. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  2060. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  2061. ^
  2062. In file included from src/RCONServer.cpp:9:
  2063. In file included from src/Server.h:14:
  2064. In file included from lib/cryptopp/rsa.h:9:
  2065. In file included from lib/cryptopp/pubkey.h:35:
  2066. In file included from lib/cryptopp/modarith.h:7:
  2067. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  2068. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  2069. ^
  2070. 8 warnings generated.
  2071. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/ReferenceManager.cpp -o build/debug/src/ReferenceManager.o
  2072. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Root.cpp -o build/debug/src/Root.o
  2073. src/Root.cpp:52:4: warning: field 'm_bRestart' will be initialized after field 'm_InputThread'
  2074. [-Wreorder]
  2075. , m_bRestart( false )
  2076. ^
  2077. src/Root.cpp:53:4: warning: field 'm_InputThread' will be initialized after field 'm_pDefaultWorld'
  2078. [-Wreorder]
  2079. , m_InputThread( NULL )
  2080. ^
  2081. src/Root.cpp:219:3: warning: delete called on 'cWebAdmin' that has virtual functions but non-virtual
  2082. destructor [-Wdelete-non-virtual-dtor]
  2083. delete m_WebAdmin; m_WebAdmin = NULL;
  2084. ^
  2085. src/Root.cpp:229:3: warning: delete called on 'cPluginManager' that has virtual functions but non-virtual
  2086. destructor [-Wdelete-non-virtual-dtor]
  2087. delete m_PluginManager; m_PluginManager = NULL;
  2088. ^
  2089. src/Root.cpp:236:3: warning: delete called on 'cServer' that has virtual functions but non-virtual
  2090. destructor [-Wdelete-non-virtual-dtor]
  2091. delete m_Server; m_Server = 0;
  2092. ^
  2093. src/Root.cpp:580:6: warning: field 'BestMatch' will be initialized after field 'BestRating' [-Wreorder]
  2094. , BestMatch( NULL )
  2095. ^
  2096. src/Root.cpp:582:6: warning: field 'NumMatches' will be initialized after field 'NameLength' [-Wreorder]
  2097. , NumMatches( 0 )
  2098. ^
  2099. In file included from src/Root.cpp:5:
  2100. In file included from src/Server.h:14:
  2101. In file included from lib/cryptopp/rsa.h:9:
  2102. In file included from lib/cryptopp/pubkey.h:35:
  2103. In file included from lib/cryptopp/modarith.h:7:
  2104. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2105. [-Wtautological-compare]
  2106. if (a < 0)
  2107. ~ ^ ~
  2108. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  2109. 'CryptoPP::IntToString<unsigned long>' requested here
  2110. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  2111. ^
  2112. In file included from src/Root.cpp:5:
  2113. In file included from src/Server.h:14:
  2114. In file included from lib/cryptopp/rsa.h:9:
  2115. In file included from lib/cryptopp/pubkey.h:35:
  2116. In file included from lib/cryptopp/modarith.h:7:
  2117. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2118. [-Wtautological-compare]
  2119. if (a < 0)
  2120. ~ ^ ~
  2121. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  2122. 'CryptoPP::IntToString<unsigned int>' requested here
  2123. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  2124. ^
  2125. In file included from src/Root.cpp:5:
  2126. In file included from src/Server.h:14:
  2127. In file included from lib/cryptopp/rsa.h:9:
  2128. In file included from lib/cryptopp/pubkey.h:36:
  2129. In file included from lib/cryptopp/filters.h:11:
  2130. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  2131. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  2132. ^
  2133. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  2134. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  2135. ^
  2136. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  2137. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  2138. ^
  2139. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  2140. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  2141. ^
  2142. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  2143. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  2144. ^
  2145. <scratch space>:122:1: note: expanded from here
  2146. cryptopp_assert_26
  2147. ^
  2148. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  2149. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  2150. requested here
  2151. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  2152. ^
  2153. In file included from src/Root.cpp:5:
  2154. In file included from src/Server.h:14:
  2155. In file included from lib/cryptopp/rsa.h:9:
  2156. In file included from lib/cryptopp/pubkey.h:36:
  2157. In file included from lib/cryptopp/filters.h:11:
  2158. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2159. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2160. ^
  2161. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2162. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  2163. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2164. ^
  2165. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  2166. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  2167. return AlgorithmParameters()(name, value, throwIfNotUsed);
  2168. ^
  2169. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  2170. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  2171. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  2172. ^
  2173. In file included from src/Root.cpp:5:
  2174. In file included from src/Server.h:14:
  2175. In file included from lib/cryptopp/rsa.h:9:
  2176. In file included from lib/cryptopp/pubkey.h:35:
  2177. In file included from lib/cryptopp/modarith.h:7:
  2178. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  2179. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  2180. ^
  2181. src/Root.cpp:559:25: warning: private field 'm_Callback' is not used [-Wunused-private-field]
  2182. cPlayerListCallback & m_Callback;
  2183. ^
  2184. 13 warnings generated.
  2185. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Server.cpp -o build/debug/src/Server.o
  2186. In file included from src/Server.cpp:5:
  2187. In file included from src/Server.h:14:
  2188. In file included from lib/cryptopp/rsa.h:9:
  2189. In file included from lib/cryptopp/pubkey.h:35:
  2190. In file included from lib/cryptopp/modarith.h:7:
  2191. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2192. [-Wtautological-compare]
  2193. if (a < 0)
  2194. ~ ^ ~
  2195. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  2196. 'CryptoPP::IntToString<unsigned long>' requested here
  2197. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  2198. ^
  2199. In file included from src/Server.cpp:5:
  2200. In file included from src/Server.h:14:
  2201. In file included from lib/cryptopp/rsa.h:9:
  2202. In file included from lib/cryptopp/pubkey.h:35:
  2203. In file included from lib/cryptopp/modarith.h:7:
  2204. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2205. [-Wtautological-compare]
  2206. if (a < 0)
  2207. ~ ^ ~
  2208. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  2209. 'CryptoPP::IntToString<unsigned int>' requested here
  2210. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  2211. ^
  2212. In file included from src/Server.cpp:5:
  2213. In file included from src/Server.h:14:
  2214. In file included from lib/cryptopp/rsa.h:9:
  2215. In file included from lib/cryptopp/pubkey.h:36:
  2216. In file included from lib/cryptopp/filters.h:11:
  2217. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  2218. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  2219. ^
  2220. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  2221. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  2222. ^
  2223. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  2224. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  2225. ^
  2226. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  2227. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  2228. ^
  2229. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  2230. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  2231. ^
  2232. <scratch space>:122:1: note: expanded from here
  2233. cryptopp_assert_26
  2234. ^
  2235. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  2236. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  2237. requested here
  2238. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  2239. ^
  2240. In file included from src/Server.cpp:5:
  2241. In file included from src/Server.h:14:
  2242. In file included from lib/cryptopp/rsa.h:9:
  2243. In file included from lib/cryptopp/pubkey.h:36:
  2244. In file included from lib/cryptopp/filters.h:11:
  2245. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2246. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2247. ^
  2248. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2249. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  2250. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2251. ^
  2252. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  2253. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  2254. return AlgorithmParameters()(name, value, throwIfNotUsed);
  2255. ^
  2256. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  2257. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  2258. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  2259. ^
  2260. In file included from src/Server.cpp:5:
  2261. In file included from src/Server.h:14:
  2262. In file included from lib/cryptopp/rsa.h:9:
  2263. In file included from lib/cryptopp/pubkey.h:35:
  2264. In file included from lib/cryptopp/modarith.h:7:
  2265. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  2266. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  2267. ^
  2268. 5 warnings generated.
  2269. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Simulator/DelayedFluidSimulator.cpp -o build/debug/src/Simulator/DelayedFluidSimulator.o
  2270. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Simulator/FireSimulator.cpp -o build/debug/src/Simulator/FireSimulator.o
  2271. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Simulator/FloodyFluidSimulator.cpp -o build/debug/src/Simulator/FloodyFluidSimulator.o
  2272. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Simulator/FluidSimulator.cpp -o build/debug/src/Simulator/FluidSimulator.o
  2273. src/Simulator/FluidSimulator.cpp:169:10: warning: expression result unused [-Wunused-value]
  2274. Pos->y; //Remove if no side effects
  2275. ~~~ ^
  2276. src/Simulator/FluidSimulator.cpp:176:9: warning: expression result unused [-Wunused-value]
  2277. Pos->y; //Remove if no side effects
  2278. ~~~ ^
  2279. 2 warnings generated.
  2280. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Simulator/RedstoneSimulator.cpp -o build/debug/src/Simulator/RedstoneSimulator.o
  2281. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Simulator/SandSimulator.cpp -o build/debug/src/Simulator/SandSimulator.o
  2282. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Simulator/Simulator.cpp -o build/debug/src/Simulator/Simulator.o
  2283. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Simulator/SimulatorManager.cpp -o build/debug/src/Simulator/SimulatorManager.o
  2284. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Simulator/VaporizeFluidSimulator.cpp -o build/debug/src/Simulator/VaporizeFluidSimulator.o
  2285. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/StringCompression.cpp -o build/debug/src/StringCompression.o
  2286. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/StringUtils.cpp -o build/debug/src/StringUtils.o
  2287. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Tracer.cpp -o build/debug/src/Tracer.o
  2288. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/UI/SlotArea.cpp -o build/debug/src/UI/SlotArea.o
  2289. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/UI/Window.cpp -o build/debug/src/UI/Window.o
  2290. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Vector3d.cpp -o build/debug/src/Vector3d.o
  2291. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Vector3f.cpp -o build/debug/src/Vector3f.o
  2292. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/Vector3i.cpp -o build/debug/src/Vector3i.o
  2293. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/VoronoiMap.cpp -o build/debug/src/VoronoiMap.o
  2294. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/WebAdmin.cpp -o build/debug/src/WebAdmin.o
  2295. In file included from src/WebAdmin.cpp:12:
  2296. In file included from src/Server.h:14:
  2297. In file included from lib/cryptopp/rsa.h:9:
  2298. In file included from lib/cryptopp/pubkey.h:35:
  2299. In file included from lib/cryptopp/modarith.h:7:
  2300. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2301. [-Wtautological-compare]
  2302. if (a < 0)
  2303. ~ ^ ~
  2304. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  2305. 'CryptoPP::IntToString<unsigned long>' requested here
  2306. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  2307. ^
  2308. In file included from src/WebAdmin.cpp:12:
  2309. In file included from src/Server.h:14:
  2310. In file included from lib/cryptopp/rsa.h:9:
  2311. In file included from lib/cryptopp/pubkey.h:35:
  2312. In file included from lib/cryptopp/modarith.h:7:
  2313. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2314. [-Wtautological-compare]
  2315. if (a < 0)
  2316. ~ ^ ~
  2317. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  2318. 'CryptoPP::IntToString<unsigned int>' requested here
  2319. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  2320. ^
  2321. In file included from src/WebAdmin.cpp:12:
  2322. In file included from src/Server.h:14:
  2323. In file included from lib/cryptopp/rsa.h:9:
  2324. In file included from lib/cryptopp/pubkey.h:36:
  2325. In file included from lib/cryptopp/filters.h:11:
  2326. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  2327. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  2328. ^
  2329. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  2330. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  2331. ^
  2332. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  2333. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  2334. ^
  2335. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  2336. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  2337. ^
  2338. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  2339. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  2340. ^
  2341. <scratch space>:201:1: note: expanded from here
  2342. cryptopp_assert_26
  2343. ^
  2344. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  2345. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  2346. requested here
  2347. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  2348. ^
  2349. In file included from src/WebAdmin.cpp:12:
  2350. In file included from src/Server.h:14:
  2351. In file included from lib/cryptopp/rsa.h:9:
  2352. In file included from lib/cryptopp/pubkey.h:36:
  2353. In file included from lib/cryptopp/filters.h:11:
  2354. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2355. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2356. ^
  2357. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2358. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  2359. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2360. ^
  2361. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  2362. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  2363. return AlgorithmParameters()(name, value, throwIfNotUsed);
  2364. ^
  2365. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  2366. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  2367. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  2368. ^
  2369. In file included from src/WebAdmin.cpp:12:
  2370. In file included from src/Server.h:14:
  2371. In file included from lib/cryptopp/rsa.h:9:
  2372. In file included from lib/cryptopp/pubkey.h:35:
  2373. In file included from lib/cryptopp/modarith.h:7:
  2374. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  2375. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  2376. ^
  2377. 5 warnings generated.
  2378. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/World.cpp -o build/debug/src/World.o
  2379. src/World.cpp:240:2: warning: field 'm_TickThread' will be initialized after field 'm_SkyDarkness'
  2380. [-Wreorder]
  2381. m_TickThread(*this),
  2382. ^
  2383. src/World.cpp:241:2: warning: field 'm_SkyDarkness' will be initialized after field
  2384. 'm_bSpawnExplicitlySet' [-Wreorder]
  2385. m_SkyDarkness(0),
  2386. ^
  2387. src/World.cpp:878:3: warning: delete called on 'cWorld::cTask' that is abstract but has non-virtual
  2388. destructor [-Wdelete-non-virtual-dtor]
  2389. delete *itr;
  2390. ^
  2391. In file included from src/World.cpp:8:
  2392. In file included from src/Server.h:14:
  2393. In file included from lib/cryptopp/rsa.h:9:
  2394. In file included from lib/cryptopp/pubkey.h:35:
  2395. In file included from lib/cryptopp/modarith.h:7:
  2396. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2397. [-Wtautological-compare]
  2398. if (a < 0)
  2399. ~ ^ ~
  2400. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  2401. 'CryptoPP::IntToString<unsigned long>' requested here
  2402. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  2403. ^
  2404. In file included from src/World.cpp:8:
  2405. In file included from src/Server.h:14:
  2406. In file included from lib/cryptopp/rsa.h:9:
  2407. In file included from lib/cryptopp/pubkey.h:35:
  2408. In file included from lib/cryptopp/modarith.h:7:
  2409. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2410. [-Wtautological-compare]
  2411. if (a < 0)
  2412. ~ ^ ~
  2413. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  2414. 'CryptoPP::IntToString<unsigned int>' requested here
  2415. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  2416. ^
  2417. In file included from src/World.cpp:8:
  2418. In file included from src/Server.h:14:
  2419. In file included from lib/cryptopp/rsa.h:9:
  2420. In file included from lib/cryptopp/pubkey.h:36:
  2421. In file included from lib/cryptopp/filters.h:11:
  2422. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  2423. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  2424. ^
  2425. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  2426. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  2427. ^
  2428. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  2429. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  2430. ^
  2431. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  2432. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  2433. ^
  2434. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  2435. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  2436. ^
  2437. <scratch space>:200:1: note: expanded from here
  2438. cryptopp_assert_26
  2439. ^
  2440. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  2441. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  2442. requested here
  2443. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  2444. ^
  2445. In file included from src/World.cpp:8:
  2446. In file included from src/Server.h:14:
  2447. In file included from lib/cryptopp/rsa.h:9:
  2448. In file included from lib/cryptopp/pubkey.h:36:
  2449. In file included from lib/cryptopp/filters.h:11:
  2450. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2451. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2452. ^
  2453. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2454. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  2455. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2456. ^
  2457. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  2458. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  2459. return AlgorithmParameters()(name, value, throwIfNotUsed);
  2460. ^
  2461. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  2462. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  2463. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  2464. ^
  2465. In file included from src/World.cpp:8:
  2466. In file included from src/Server.h:14:
  2467. In file included from lib/cryptopp/rsa.h:9:
  2468. In file included from lib/cryptopp/pubkey.h:35:
  2469. In file included from lib/cryptopp/modarith.h:7:
  2470. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  2471. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  2472. ^
  2473. 8 warnings generated.
  2474. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/WorldStorage/FastNBT.cpp -o build/debug/src/WorldStorage/FastNBT.o
  2475. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/WorldStorage/NBTChunkSerializer.cpp -o build/debug/src/WorldStorage/NBTChunkSerializer.o
  2476. src/WorldStorage/NBTChunkSerializer.cpp:301:11: warning: enumeration values 'mpNone', 'mpTNT', and
  2477. 'mpHopper' not handled in switch [-Wswitch]
  2478. switch (a_Minecart->GetPayload())
  2479. ^
  2480. 1 warning generated.
  2481. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/WorldStorage/WorldStorage.cpp -o build/debug/src/WorldStorage/WorldStorage.o
  2482. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/WorldStorage/WSSAnvil.cpp -o build/debug/src/WorldStorage/WSSAnvil.o
  2483. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include src/WorldStorage/WSSCompact.cpp -o build/debug/src/WorldStorage/WSSCompact.o
  2484. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/adler32.cpp -o build/debug/lib/cryptopp/adler32.o
  2485. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/algebra.cpp -o build/debug/lib/cryptopp/algebra.o
  2486. In file included from lib/cryptopp/algebra.cpp:9:
  2487. In file included from lib/cryptopp/integer.h:7:
  2488. In file included from lib/cryptopp/secblock.h:7:
  2489. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  2490. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  2491. ^
  2492. 1 warning generated.
  2493. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/algparam.cpp -o build/debug/lib/cryptopp/algparam.o
  2494. In file included from lib/cryptopp/algparam.cpp:7:
  2495. In file included from lib/cryptopp/algparam.h:6:
  2496. In file included from lib/cryptopp/secblock.h:7:
  2497. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  2498. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  2499. ^
  2500. 1 warning generated.
  2501. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/asn.cpp -o build/debug/lib/cryptopp/asn.o
  2502. lib/cryptopp/asn.cpp:312:11: warning: enumeration values 'TAIL' and 'ALL_DONE' not handled in switch
  2503. [-Wswitch]
  2504. switch (m_state)
  2505. ^
  2506. In file included from lib/cryptopp/asn.cpp:7:
  2507. In file included from lib/cryptopp/asn.h:4:
  2508. In file included from lib/cryptopp/filters.h:6:
  2509. In file included from lib/cryptopp/simple.h:10:
  2510. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2511. [-Wtautological-compare]
  2512. if (a < 0)
  2513. ~ ^ ~
  2514. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  2515. 'CryptoPP::IntToString<unsigned long>' requested here
  2516. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  2517. ^
  2518. In file included from lib/cryptopp/asn.cpp:7:
  2519. In file included from lib/cryptopp/asn.h:4:
  2520. In file included from lib/cryptopp/filters.h:6:
  2521. In file included from lib/cryptopp/simple.h:10:
  2522. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2523. [-Wtautological-compare]
  2524. if (a < 0)
  2525. ~ ^ ~
  2526. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  2527. 'CryptoPP::IntToString<unsigned int>' requested here
  2528. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  2529. ^
  2530. In file included from lib/cryptopp/asn.cpp:7:
  2531. In file included from lib/cryptopp/asn.h:4:
  2532. In file included from lib/cryptopp/filters.h:11:
  2533. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  2534. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  2535. ^
  2536. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  2537. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  2538. ^
  2539. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  2540. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  2541. ^
  2542. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  2543. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  2544. ^
  2545. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  2546. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  2547. ^
  2548. <scratch space>:488:1: note: expanded from here
  2549. cryptopp_assert_26
  2550. ^
  2551. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  2552. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  2553. requested here
  2554. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  2555. ^
  2556. In file included from lib/cryptopp/asn.cpp:7:
  2557. In file included from lib/cryptopp/asn.h:4:
  2558. In file included from lib/cryptopp/filters.h:11:
  2559. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2560. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2561. ^
  2562. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2563. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  2564. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2565. ^
  2566. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  2567. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  2568. return AlgorithmParameters()(name, value, throwIfNotUsed);
  2569. ^
  2570. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  2571. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  2572. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  2573. ^
  2574. In file included from lib/cryptopp/asn.cpp:7:
  2575. In file included from lib/cryptopp/asn.h:4:
  2576. In file included from lib/cryptopp/filters.h:6:
  2577. In file included from lib/cryptopp/simple.h:10:
  2578. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  2579. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  2580. ^
  2581. 6 warnings generated.
  2582. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/authenc.cpp -o build/debug/lib/cryptopp/authenc.o
  2583. In file included from lib/cryptopp/authenc.cpp:7:
  2584. In file included from lib/cryptopp/authenc.h:5:
  2585. In file included from lib/cryptopp/secblock.h:7:
  2586. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2587. [-Wtautological-compare]
  2588. if (a < 0)
  2589. ~ ^ ~
  2590. lib/cryptopp/authenc.cpp:139:67: note: in instantiation of function template specialization
  2591. 'CryptoPP::IntToString<unsigned long long>' requested here
  2592. throw InvalidArgument(AlgorithmName() + ": header length of " + IntToString(m_tot...
  2593. ^
  2594. In file included from lib/cryptopp/authenc.cpp:7:
  2595. In file included from lib/cryptopp/authenc.h:5:
  2596. In file included from lib/cryptopp/secblock.h:7:
  2597. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  2598. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  2599. ^
  2600. 2 warnings generated.
  2601. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/base32.cpp -o build/debug/lib/cryptopp/base32.o
  2602. In file included from lib/cryptopp/base32.cpp:4:
  2603. In file included from lib/cryptopp/base32.h:4:
  2604. In file included from lib/cryptopp/basecode.h:4:
  2605. In file included from lib/cryptopp/filters.h:6:
  2606. In file included from lib/cryptopp/simple.h:10:
  2607. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2608. [-Wtautological-compare]
  2609. if (a < 0)
  2610. ~ ^ ~
  2611. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  2612. 'CryptoPP::IntToString<unsigned long>' requested here
  2613. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  2614. ^
  2615. In file included from lib/cryptopp/base32.cpp:4:
  2616. In file included from lib/cryptopp/base32.h:4:
  2617. In file included from lib/cryptopp/basecode.h:4:
  2618. In file included from lib/cryptopp/filters.h:6:
  2619. In file included from lib/cryptopp/simple.h:10:
  2620. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2621. [-Wtautological-compare]
  2622. if (a < 0)
  2623. ~ ^ ~
  2624. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  2625. 'CryptoPP::IntToString<unsigned int>' requested here
  2626. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  2627. ^
  2628. In file included from lib/cryptopp/base32.cpp:4:
  2629. In file included from lib/cryptopp/base32.h:4:
  2630. In file included from lib/cryptopp/basecode.h:4:
  2631. In file included from lib/cryptopp/filters.h:11:
  2632. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  2633. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  2634. ^
  2635. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  2636. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  2637. ^
  2638. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  2639. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  2640. ^
  2641. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  2642. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  2643. ^
  2644. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  2645. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  2646. ^
  2647. <scratch space>:488:1: note: expanded from here
  2648. cryptopp_assert_26
  2649. ^
  2650. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  2651. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  2652. requested here
  2653. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  2654. ^
  2655. In file included from lib/cryptopp/base32.cpp:4:
  2656. In file included from lib/cryptopp/base32.h:4:
  2657. In file included from lib/cryptopp/basecode.h:4:
  2658. In file included from lib/cryptopp/filters.h:11:
  2659. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2660. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2661. ^
  2662. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2663. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  2664. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2665. ^
  2666. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  2667. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  2668. return AlgorithmParameters()(name, value, throwIfNotUsed);
  2669. ^
  2670. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  2671. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  2672. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  2673. ^
  2674. In file included from lib/cryptopp/base32.cpp:4:
  2675. In file included from lib/cryptopp/base32.h:4:
  2676. In file included from lib/cryptopp/basecode.h:4:
  2677. In file included from lib/cryptopp/filters.h:11:
  2678. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2679. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2680. ^
  2681. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2682. 'CryptoPP::AlgorithmParametersTemplate<const unsigned char *>::MoveInto' requested here
  2683. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2684. ^
  2685. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  2686. 'CryptoPP::AlgorithmParameters::operator()<const unsigned char *>' requested here
  2687. return AlgorithmParameters()(name, value, throwIfNotUsed);
  2688. ^
  2689. lib/cryptopp/basecode.h:20:22: note: in instantiation of function template specialization
  2690. 'CryptoPP::MakeParameters<const unsigned char *>' requested here
  2691. IsolatedInitialize(MakeParameters(Name::EncodingLookupArray(), alphabet)
  2692. ^
  2693. In file included from lib/cryptopp/base32.cpp:4:
  2694. In file included from lib/cryptopp/base32.h:4:
  2695. In file included from lib/cryptopp/basecode.h:4:
  2696. In file included from lib/cryptopp/filters.h:11:
  2697. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2698. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2699. ^
  2700. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2701. 'CryptoPP::AlgorithmParametersTemplate<unsigned char>::MoveInto' requested here
  2702. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2703. ^
  2704. lib/cryptopp/algparam.h:364:10: note: in instantiation of function template specialization
  2705. 'CryptoPP::AlgorithmParameters::operator()<unsigned char>' requested here
  2706. return operator()(name, value, m_defaultThrowIfNotUsed);
  2707. ^
  2708. lib/cryptopp/basecode.h:23:4: note: in instantiation of function template specialization
  2709. 'CryptoPP::AlgorithmParameters::operator()<unsigned char>' requested here
  2710. (Name::PaddingByte(), byte(padding)));
  2711. ^
  2712. In file included from lib/cryptopp/base32.cpp:4:
  2713. In file included from lib/cryptopp/base32.h:4:
  2714. In file included from lib/cryptopp/basecode.h:4:
  2715. In file included from lib/cryptopp/filters.h:11:
  2716. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2717. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2718. ^
  2719. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2720. 'CryptoPP::AlgorithmParametersTemplate<const int *>::MoveInto' requested here
  2721. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2722. ^
  2723. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  2724. 'CryptoPP::AlgorithmParameters::operator()<const int *>' requested here
  2725. return AlgorithmParameters()(name, value, throwIfNotUsed);
  2726. ^
  2727. lib/cryptopp/basecode.h:46:22: note: in instantiation of function template specialization
  2728. 'CryptoPP::MakeParameters<const int *>' requested here
  2729. IsolatedInitialize(MakeParameters(Name::DecodingLookupArray(), lookup)(Name::Log2...
  2730. ^
  2731. In file included from lib/cryptopp/base32.cpp:4:
  2732. In file included from lib/cryptopp/base32.h:4:
  2733. In file included from lib/cryptopp/basecode.h:4:
  2734. In file included from lib/cryptopp/filters.h:6:
  2735. In file included from lib/cryptopp/simple.h:10:
  2736. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  2737. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  2738. ^
  2739. 8 warnings generated.
  2740. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/base64.cpp -o build/debug/lib/cryptopp/base64.o
  2741. In file included from lib/cryptopp/base64.cpp:4:
  2742. In file included from lib/cryptopp/base64.h:4:
  2743. In file included from lib/cryptopp/basecode.h:4:
  2744. In file included from lib/cryptopp/filters.h:6:
  2745. In file included from lib/cryptopp/simple.h:10:
  2746. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2747. [-Wtautological-compare]
  2748. if (a < 0)
  2749. ~ ^ ~
  2750. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  2751. 'CryptoPP::IntToString<unsigned long>' requested here
  2752. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  2753. ^
  2754. In file included from lib/cryptopp/base64.cpp:4:
  2755. In file included from lib/cryptopp/base64.h:4:
  2756. In file included from lib/cryptopp/basecode.h:4:
  2757. In file included from lib/cryptopp/filters.h:6:
  2758. In file included from lib/cryptopp/simple.h:10:
  2759. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2760. [-Wtautological-compare]
  2761. if (a < 0)
  2762. ~ ^ ~
  2763. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  2764. 'CryptoPP::IntToString<unsigned int>' requested here
  2765. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  2766. ^
  2767. In file included from lib/cryptopp/base64.cpp:4:
  2768. In file included from lib/cryptopp/base64.h:4:
  2769. In file included from lib/cryptopp/basecode.h:4:
  2770. In file included from lib/cryptopp/filters.h:11:
  2771. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  2772. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  2773. ^
  2774. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  2775. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  2776. ^
  2777. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  2778. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  2779. ^
  2780. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  2781. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  2782. ^
  2783. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  2784. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  2785. ^
  2786. <scratch space>:488:1: note: expanded from here
  2787. cryptopp_assert_26
  2788. ^
  2789. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  2790. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  2791. requested here
  2792. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  2793. ^
  2794. In file included from lib/cryptopp/base64.cpp:4:
  2795. In file included from lib/cryptopp/base64.h:4:
  2796. In file included from lib/cryptopp/basecode.h:4:
  2797. In file included from lib/cryptopp/filters.h:11:
  2798. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2799. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2800. ^
  2801. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2802. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  2803. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2804. ^
  2805. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  2806. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  2807. return AlgorithmParameters()(name, value, throwIfNotUsed);
  2808. ^
  2809. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  2810. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  2811. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  2812. ^
  2813. In file included from lib/cryptopp/base64.cpp:4:
  2814. In file included from lib/cryptopp/base64.h:4:
  2815. In file included from lib/cryptopp/basecode.h:4:
  2816. In file included from lib/cryptopp/filters.h:11:
  2817. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2818. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2819. ^
  2820. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2821. 'CryptoPP::AlgorithmParametersTemplate<const unsigned char *>::MoveInto' requested here
  2822. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2823. ^
  2824. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  2825. 'CryptoPP::AlgorithmParameters::operator()<const unsigned char *>' requested here
  2826. return AlgorithmParameters()(name, value, throwIfNotUsed);
  2827. ^
  2828. lib/cryptopp/basecode.h:20:22: note: in instantiation of function template specialization
  2829. 'CryptoPP::MakeParameters<const unsigned char *>' requested here
  2830. IsolatedInitialize(MakeParameters(Name::EncodingLookupArray(), alphabet)
  2831. ^
  2832. In file included from lib/cryptopp/base64.cpp:4:
  2833. In file included from lib/cryptopp/base64.h:4:
  2834. In file included from lib/cryptopp/basecode.h:4:
  2835. In file included from lib/cryptopp/filters.h:11:
  2836. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2837. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2838. ^
  2839. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2840. 'CryptoPP::AlgorithmParametersTemplate<unsigned char>::MoveInto' requested here
  2841. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2842. ^
  2843. lib/cryptopp/algparam.h:364:10: note: in instantiation of function template specialization
  2844. 'CryptoPP::AlgorithmParameters::operator()<unsigned char>' requested here
  2845. return operator()(name, value, m_defaultThrowIfNotUsed);
  2846. ^
  2847. lib/cryptopp/basecode.h:23:4: note: in instantiation of function template specialization
  2848. 'CryptoPP::AlgorithmParameters::operator()<unsigned char>' requested here
  2849. (Name::PaddingByte(), byte(padding)));
  2850. ^
  2851. In file included from lib/cryptopp/base64.cpp:4:
  2852. In file included from lib/cryptopp/base64.h:4:
  2853. In file included from lib/cryptopp/basecode.h:4:
  2854. In file included from lib/cryptopp/filters.h:11:
  2855. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  2856. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  2857. ^
  2858. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  2859. 'CryptoPP::AlgorithmParametersTemplate<const int *>::MoveInto' requested here
  2860. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  2861. ^
  2862. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  2863. 'CryptoPP::AlgorithmParameters::operator()<const int *>' requested here
  2864. return AlgorithmParameters()(name, value, throwIfNotUsed);
  2865. ^
  2866. lib/cryptopp/basecode.h:46:22: note: in instantiation of function template specialization
  2867. 'CryptoPP::MakeParameters<const int *>' requested here
  2868. IsolatedInitialize(MakeParameters(Name::DecodingLookupArray(), lookup)(Name::Log2...
  2869. ^
  2870. In file included from lib/cryptopp/base64.cpp:4:
  2871. In file included from lib/cryptopp/base64.h:4:
  2872. In file included from lib/cryptopp/basecode.h:4:
  2873. In file included from lib/cryptopp/filters.h:6:
  2874. In file included from lib/cryptopp/simple.h:10:
  2875. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  2876. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  2877. ^
  2878. 8 warnings generated.
  2879. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/basecode.cpp -o build/debug/lib/cryptopp/basecode.o
  2880. lib/cryptopp/basecode.cpp:81:4: warning: expression result unused [-Wunused-value]
  2881. FILTER_OUTPUT(1, m_outBuf, m_outputBlockSize, 0);
  2882. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2883. lib/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
  2884. FILTER_OUTPUT2(site, 0, output, length, messageEnd)
  2885. ^
  2886. lib/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
  2887. FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
  2888. ^
  2889. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  2890. statement; \
  2891. ^
  2892. lib/cryptopp/basecode.cpp:100:3: warning: expression result unused [-Wunused-value]
  2893. FILTER_OUTPUT(2, m_outBuf, m_bytePos, messageEnd);
  2894. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2895. lib/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
  2896. FILTER_OUTPUT2(site, 0, output, length, messageEnd)
  2897. ^
  2898. lib/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
  2899. FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
  2900. ^
  2901. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  2902. statement; \
  2903. ^
  2904. lib/cryptopp/basecode.cpp:157:4: warning: expression result unused [-Wunused-value]
  2905. FILTER_OUTPUT(1, m_outBuf, m_outputBlockSize, 0);
  2906. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2907. lib/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
  2908. FILTER_OUTPUT2(site, 0, output, length, messageEnd)
  2909. ^
  2910. lib/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
  2911. FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
  2912. ^
  2913. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  2914. statement; \
  2915. ^
  2916. lib/cryptopp/basecode.cpp:163:3: warning: expression result unused [-Wunused-value]
  2917. FILTER_OUTPUT(2, m_outBuf, m_bytePos, messageEnd);
  2918. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2919. lib/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
  2920. FILTER_OUTPUT2(site, 0, output, length, messageEnd)
  2921. ^
  2922. lib/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
  2923. FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
  2924. ^
  2925. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  2926. statement; \
  2927. ^
  2928. lib/cryptopp/basecode.cpp:214:5: warning: expression result unused [-Wunused-value]
  2929. FILTER_OUTPUT(1, m_separator, m_separator.size(), 0);
  2930. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2931. lib/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
  2932. FILTER_OUTPUT2(site, 0, output, length, messageEnd)
  2933. ^
  2934. lib/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
  2935. FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
  2936. ^
  2937. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  2938. statement; \
  2939. ^
  2940. lib/cryptopp/basecode.cpp:226:3: warning: expression result unused [-Wunused-value]
  2941. FILTER_OUTPUT(3, begin, length, 0);
  2942. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2943. lib/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
  2944. FILTER_OUTPUT2(site, 0, output, length, messageEnd)
  2945. ^
  2946. lib/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
  2947. FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
  2948. ^
  2949. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  2950. statement; \
  2951. ^
  2952. lib/cryptopp/basecode.cpp:230:3: warning: expression result unused [-Wunused-value]
  2953. FILTER_OUTPUT(4, m_terminator, m_terminator.size(), messageEnd);
  2954. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2955. lib/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
  2956. FILTER_OUTPUT2(site, 0, output, length, messageEnd)
  2957. ^
  2958. lib/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
  2959. FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
  2960. ^
  2961. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  2962. statement; \
  2963. ^
  2964. In file included from lib/cryptopp/basecode.cpp:7:
  2965. In file included from lib/cryptopp/basecode.h:4:
  2966. In file included from lib/cryptopp/filters.h:6:
  2967. In file included from lib/cryptopp/simple.h:10:
  2968. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2969. [-Wtautological-compare]
  2970. if (a < 0)
  2971. ~ ^ ~
  2972. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  2973. 'CryptoPP::IntToString<unsigned long>' requested here
  2974. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  2975. ^
  2976. In file included from lib/cryptopp/basecode.cpp:7:
  2977. In file included from lib/cryptopp/basecode.h:4:
  2978. In file included from lib/cryptopp/filters.h:6:
  2979. In file included from lib/cryptopp/simple.h:10:
  2980. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  2981. [-Wtautological-compare]
  2982. if (a < 0)
  2983. ~ ^ ~
  2984. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  2985. 'CryptoPP::IntToString<unsigned int>' requested here
  2986. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  2987. ^
  2988. In file included from lib/cryptopp/basecode.cpp:7:
  2989. In file included from lib/cryptopp/basecode.h:4:
  2990. In file included from lib/cryptopp/filters.h:11:
  2991. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  2992. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  2993. ^
  2994. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  2995. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  2996. ^
  2997. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  2998. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  2999. ^
  3000. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3001. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3002. ^
  3003. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3004. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3005. ^
  3006. <scratch space>:488:1: note: expanded from here
  3007. cryptopp_assert_26
  3008. ^
  3009. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  3010. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  3011. requested here
  3012. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  3013. ^
  3014. In file included from lib/cryptopp/basecode.cpp:7:
  3015. In file included from lib/cryptopp/basecode.h:4:
  3016. In file included from lib/cryptopp/filters.h:11:
  3017. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3018. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3019. ^
  3020. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3021. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  3022. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3023. ^
  3024. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  3025. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  3026. return AlgorithmParameters()(name, value, throwIfNotUsed);
  3027. ^
  3028. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  3029. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  3030. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  3031. ^
  3032. In file included from lib/cryptopp/basecode.cpp:7:
  3033. In file included from lib/cryptopp/basecode.h:4:
  3034. In file included from lib/cryptopp/filters.h:11:
  3035. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3036. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3037. ^
  3038. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3039. 'CryptoPP::AlgorithmParametersTemplate<const unsigned char *>::MoveInto' requested here
  3040. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3041. ^
  3042. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  3043. 'CryptoPP::AlgorithmParameters::operator()<const unsigned char *>' requested here
  3044. return AlgorithmParameters()(name, value, throwIfNotUsed);
  3045. ^
  3046. lib/cryptopp/basecode.h:20:22: note: in instantiation of function template specialization
  3047. 'CryptoPP::MakeParameters<const unsigned char *>' requested here
  3048. IsolatedInitialize(MakeParameters(Name::EncodingLookupArray(), alphabet)
  3049. ^
  3050. In file included from lib/cryptopp/basecode.cpp:7:
  3051. In file included from lib/cryptopp/basecode.h:4:
  3052. In file included from lib/cryptopp/filters.h:11:
  3053. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3054. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3055. ^
  3056. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3057. 'CryptoPP::AlgorithmParametersTemplate<unsigned char>::MoveInto' requested here
  3058. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3059. ^
  3060. lib/cryptopp/algparam.h:364:10: note: in instantiation of function template specialization
  3061. 'CryptoPP::AlgorithmParameters::operator()<unsigned char>' requested here
  3062. return operator()(name, value, m_defaultThrowIfNotUsed);
  3063. ^
  3064. lib/cryptopp/basecode.h:23:4: note: in instantiation of function template specialization
  3065. 'CryptoPP::AlgorithmParameters::operator()<unsigned char>' requested here
  3066. (Name::PaddingByte(), byte(padding)));
  3067. ^
  3068. In file included from lib/cryptopp/basecode.cpp:7:
  3069. In file included from lib/cryptopp/basecode.h:4:
  3070. In file included from lib/cryptopp/filters.h:11:
  3071. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3072. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3073. ^
  3074. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3075. 'CryptoPP::AlgorithmParametersTemplate<const int *>::MoveInto' requested here
  3076. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3077. ^
  3078. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  3079. 'CryptoPP::AlgorithmParameters::operator()<const int *>' requested here
  3080. return AlgorithmParameters()(name, value, throwIfNotUsed);
  3081. ^
  3082. lib/cryptopp/basecode.h:46:22: note: in instantiation of function template specialization
  3083. 'CryptoPP::MakeParameters<const int *>' requested here
  3084. IsolatedInitialize(MakeParameters(Name::DecodingLookupArray(), lookup)(Name::Log2...
  3085. ^
  3086. In file included from lib/cryptopp/basecode.cpp:7:
  3087. In file included from lib/cryptopp/basecode.h:4:
  3088. In file included from lib/cryptopp/filters.h:6:
  3089. In file included from lib/cryptopp/simple.h:10:
  3090. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  3091. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  3092. ^
  3093. In file included from lib/cryptopp/basecode.cpp:7:
  3094. lib/cryptopp/basecode.h:56:6: warning: private field 'm_padding' is not used [-Wunused-private-field]
  3095. int m_padding, m_bitsPerChar, m_outputBlockSize;
  3096. ^
  3097. 16 warnings generated.
  3098. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/cbcmac.cpp -o build/debug/lib/cryptopp/cbcmac.o
  3099. In file included from lib/cryptopp/cbcmac.cpp:5:
  3100. In file included from lib/cryptopp/cbcmac.h:4:
  3101. In file included from lib/cryptopp/seckey.h:9:
  3102. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3103. [-Wtautological-compare]
  3104. if (a < 0)
  3105. ~ ^ ~
  3106. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  3107. 'CryptoPP::IntToString<unsigned long>' requested here
  3108. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  3109. ^
  3110. In file included from lib/cryptopp/cbcmac.cpp:5:
  3111. In file included from lib/cryptopp/cbcmac.h:4:
  3112. In file included from lib/cryptopp/seckey.h:9:
  3113. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3114. [-Wtautological-compare]
  3115. if (a < 0)
  3116. ~ ^ ~
  3117. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  3118. 'CryptoPP::IntToString<unsigned int>' requested here
  3119. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  3120. ^
  3121. In file included from lib/cryptopp/cbcmac.cpp:5:
  3122. In file included from lib/cryptopp/cbcmac.h:4:
  3123. In file included from lib/cryptopp/seckey.h:9:
  3124. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  3125. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  3126. ^
  3127. 3 warnings generated.
  3128. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/ccm.cpp -o build/debug/lib/cryptopp/ccm.o
  3129. In file included from lib/cryptopp/ccm.cpp:7:
  3130. In file included from lib/cryptopp/ccm.h:4:
  3131. In file included from lib/cryptopp/authenc.h:5:
  3132. In file included from lib/cryptopp/secblock.h:7:
  3133. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3134. [-Wtautological-compare]
  3135. if (a < 0)
  3136. ~ ^ ~
  3137. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  3138. 'CryptoPP::IntToString<unsigned long>' requested here
  3139. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  3140. ^
  3141. In file included from lib/cryptopp/ccm.cpp:7:
  3142. In file included from lib/cryptopp/ccm.h:4:
  3143. In file included from lib/cryptopp/authenc.h:5:
  3144. In file included from lib/cryptopp/secblock.h:7:
  3145. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3146. [-Wtautological-compare]
  3147. if (a < 0)
  3148. ~ ^ ~
  3149. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  3150. 'CryptoPP::IntToString<unsigned int>' requested here
  3151. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  3152. ^
  3153. In file included from lib/cryptopp/ccm.cpp:7:
  3154. In file included from lib/cryptopp/ccm.h:4:
  3155. In file included from lib/cryptopp/authenc.h:5:
  3156. In file included from lib/cryptopp/secblock.h:7:
  3157. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  3158. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  3159. ^
  3160. 3 warnings generated.
  3161. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/channels.cpp -o build/debug/lib/cryptopp/channels.o
  3162. In file included from lib/cryptopp/channels.cpp:7:
  3163. In file included from lib/cryptopp/channels.h:4:
  3164. In file included from lib/cryptopp/simple.h:10:
  3165. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3166. [-Wtautological-compare]
  3167. if (a < 0)
  3168. ~ ^ ~
  3169. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  3170. 'CryptoPP::IntToString<unsigned long>' requested here
  3171. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  3172. ^
  3173. In file included from lib/cryptopp/channels.cpp:7:
  3174. In file included from lib/cryptopp/channels.h:4:
  3175. In file included from lib/cryptopp/simple.h:10:
  3176. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3177. [-Wtautological-compare]
  3178. if (a < 0)
  3179. ~ ^ ~
  3180. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  3181. 'CryptoPP::IntToString<unsigned int>' requested here
  3182. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  3183. ^
  3184. In file included from lib/cryptopp/channels.cpp:7:
  3185. In file included from lib/cryptopp/channels.h:4:
  3186. In file included from lib/cryptopp/simple.h:10:
  3187. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  3188. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  3189. ^
  3190. 3 warnings generated.
  3191. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/cmac.cpp -o build/debug/lib/cryptopp/cmac.o
  3192. In file included from lib/cryptopp/cmac.cpp:7:
  3193. In file included from lib/cryptopp/cmac.h:4:
  3194. In file included from lib/cryptopp/seckey.h:9:
  3195. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3196. [-Wtautological-compare]
  3197. if (a < 0)
  3198. ~ ^ ~
  3199. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  3200. 'CryptoPP::IntToString<unsigned long>' requested here
  3201. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  3202. ^
  3203. In file included from lib/cryptopp/cmac.cpp:7:
  3204. In file included from lib/cryptopp/cmac.h:4:
  3205. In file included from lib/cryptopp/seckey.h:9:
  3206. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3207. [-Wtautological-compare]
  3208. if (a < 0)
  3209. ~ ^ ~
  3210. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  3211. 'CryptoPP::IntToString<unsigned int>' requested here
  3212. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  3213. ^
  3214. In file included from lib/cryptopp/cmac.cpp:7:
  3215. In file included from lib/cryptopp/cmac.h:4:
  3216. In file included from lib/cryptopp/seckey.h:9:
  3217. lib/cryptopp/misc.h:184:2: warning: unused variable 'cryptopp_assert_184' [-Wunused-variable]
  3218. CRYPTOPP_COMPILE_ASSERT((sizeof(T1)<=sizeof(T2) && T2(-1)>0) || (sizeof(T1)>sizeof(T2) &...
  3219. ^
  3220. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  3221. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  3222. ^
  3223. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3224. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3225. ^
  3226. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3227. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3228. ^
  3229. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3230. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3231. ^
  3232. <scratch space>:421:1: note: expanded from here
  3233. cryptopp_assert_184
  3234. ^
  3235. lib/cryptopp/cmac.cpp:68:22: note: in instantiation of function template specialization
  3236. 'CryptoPP::UnsignedMin<unsigned int, unsigned long>' requested here
  3237. unsigned int len = UnsignedMin(blockSize - m_counter, length);
  3238. ^
  3239. In file included from lib/cryptopp/cmac.cpp:7:
  3240. In file included from lib/cryptopp/cmac.h:4:
  3241. In file included from lib/cryptopp/seckey.h:9:
  3242. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  3243. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  3244. ^
  3245. 4 warnings generated.
  3246. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/cpu.cpp -o build/debug/lib/cryptopp/cpu.o
  3247. In file included from lib/cryptopp/cpu.cpp:8:
  3248. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  3249. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  3250. ^
  3251. lib/cryptopp/cpu.cpp:45:13: warning: unused function 'SigIllHandlerSSE2' [-Wunused-function]
  3252. static void SigIllHandlerSSE2(int)
  3253. ^
  3254. 2 warnings generated.
  3255. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/crc.cpp -o build/debug/lib/cryptopp/crc.o
  3256. In file included from lib/cryptopp/crc.cpp:5:
  3257. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  3258. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  3259. ^
  3260. 1 warning generated.
  3261. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/cryptlib.cpp -o build/debug/lib/cryptopp/cryptlib.o
  3262. lib/cryptopp/cryptlib.cpp:691:4: warning: expression result unused [-Wunused-value]
  3263. FILTER_OUTPUT(1, m_ciphertext, m_ciphertext.size(), messageEnd);
  3264. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3265. lib/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
  3266. FILTER_OUTPUT2(site, 0, output, length, messageEnd)
  3267. ^
  3268. lib/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
  3269. FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
  3270. ^
  3271. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  3272. statement; \
  3273. ^
  3274. lib/cryptopp/cryptlib.cpp:738:4: warning: expression result unused [-Wunused-value]
  3275. FILTER_OUTPUT(1, m_plaintext, m_result.messageLength, messageEnd);
  3276. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3277. lib/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
  3278. FILTER_OUTPUT2(site, 0, output, length, messageEnd)
  3279. ^
  3280. lib/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
  3281. FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
  3282. ^
  3283. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  3284. statement; \
  3285. ^
  3286. In file included from lib/cryptopp/cryptlib.cpp:8:
  3287. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3288. [-Wtautological-compare]
  3289. if (a < 0)
  3290. ~ ^ ~
  3291. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  3292. 'CryptoPP::IntToString<unsigned long>' requested here
  3293. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  3294. ^
  3295. In file included from lib/cryptopp/cryptlib.cpp:8:
  3296. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3297. [-Wtautological-compare]
  3298. if (a < 0)
  3299. ~ ^ ~
  3300. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  3301. 'CryptoPP::IntToString<unsigned int>' requested here
  3302. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  3303. ^
  3304. In file included from lib/cryptopp/cryptlib.cpp:9:
  3305. In file included from lib/cryptopp/filters.h:11:
  3306. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  3307. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  3308. ^
  3309. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  3310. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  3311. ^
  3312. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3313. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3314. ^
  3315. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3316. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3317. ^
  3318. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3319. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3320. ^
  3321. <scratch space>:488:1: note: expanded from here
  3322. cryptopp_assert_26
  3323. ^
  3324. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  3325. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  3326. requested here
  3327. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  3328. ^
  3329. In file included from lib/cryptopp/cryptlib.cpp:9:
  3330. In file included from lib/cryptopp/filters.h:11:
  3331. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3332. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3333. ^
  3334. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3335. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  3336. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3337. ^
  3338. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  3339. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  3340. return AlgorithmParameters()(name, value, throwIfNotUsed);
  3341. ^
  3342. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  3343. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  3344. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  3345. ^
  3346. In file included from lib/cryptopp/cryptlib.cpp:8:
  3347. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3348. [-Wtautological-compare]
  3349. if (a < 0)
  3350. ~ ^ ~
  3351. lib/cryptopp/cryptlib.cpp:207:79: note: in instantiation of function template specialization
  3352. 'CryptoPP::IntToString<unsigned long long>' requested here
  3353. ...throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": header length " + IntToString(headerLen...
  3354. ^
  3355. In file included from lib/cryptopp/cryptlib.cpp:8:
  3356. lib/cryptopp/misc.h:184:2: warning: unused variable 'cryptopp_assert_184' [-Wunused-variable]
  3357. CRYPTOPP_COMPILE_ASSERT((sizeof(T1)<=sizeof(T2) && T2(-1)>0) || (sizeof(T1)>sizeof(T2) &...
  3358. ^
  3359. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  3360. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  3361. ^
  3362. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3363. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3364. ^
  3365. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3366. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3367. ^
  3368. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3369. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3370. ^
  3371. <scratch space>:421:1: note: expanded from here
  3372. cryptopp_assert_184
  3373. ^
  3374. lib/cryptopp/cryptlib.cpp:280:16: note: in instantiation of function template specialization
  3375. 'CryptoPP::UnsignedMin<unsigned long, unsigned long long>' requested here
  3376. size_t len = UnsignedMin(buffer.size(), length);
  3377. ^
  3378. In file included from lib/cryptopp/cryptlib.cpp:8:
  3379. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  3380. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  3381. ^
  3382. lib/cryptopp/cryptlib.cpp:21:1: warning: unused variable 'cryptopp_assert_21' [-Wunused-variable]
  3383. CRYPTOPP_COMPILE_ASSERT(sizeof(byte) == 1);
  3384. ^
  3385. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  3386. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  3387. ^
  3388. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3389. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3390. ^
  3391. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3392. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3393. ^
  3394. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3395. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3396. ^
  3397. <scratch space>:79:1: note: expanded from here
  3398. cryptopp_assert_21
  3399. ^
  3400. lib/cryptopp/cryptlib.cpp:22:1: warning: unused variable 'cryptopp_assert_22' [-Wunused-variable]
  3401. CRYPTOPP_COMPILE_ASSERT(sizeof(word16) == 2);
  3402. ^
  3403. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  3404. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  3405. ^
  3406. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3407. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3408. ^
  3409. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3410. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3411. ^
  3412. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3413. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3414. ^
  3415. <scratch space>:81:1: note: expanded from here
  3416. cryptopp_assert_22
  3417. ^
  3418. lib/cryptopp/cryptlib.cpp:23:1: warning: unused variable 'cryptopp_assert_23' [-Wunused-variable]
  3419. CRYPTOPP_COMPILE_ASSERT(sizeof(word32) == 4);
  3420. ^
  3421. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  3422. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  3423. ^
  3424. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3425. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3426. ^
  3427. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3428. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3429. ^
  3430. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3431. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3432. ^
  3433. <scratch space>:83:1: note: expanded from here
  3434. cryptopp_assert_23
  3435. ^
  3436. lib/cryptopp/cryptlib.cpp:24:1: warning: unused variable 'cryptopp_assert_24' [-Wunused-variable]
  3437. CRYPTOPP_COMPILE_ASSERT(sizeof(word64) == 8);
  3438. ^
  3439. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  3440. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  3441. ^
  3442. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3443. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3444. ^
  3445. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3446. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3447. ^
  3448. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3449. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3450. ^
  3451. <scratch space>:85:1: note: expanded from here
  3452. cryptopp_assert_24
  3453. ^
  3454. lib/cryptopp/cryptlib.cpp:26:1: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  3455. CRYPTOPP_COMPILE_ASSERT(sizeof(dword) == 2*sizeof(word));
  3456. ^
  3457. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  3458. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  3459. ^
  3460. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3461. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3462. ^
  3463. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3464. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3465. ^
  3466. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3467. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3468. ^
  3469. <scratch space>:87:1: note: expanded from here
  3470. cryptopp_assert_26
  3471. ^
  3472. 14 warnings generated.
  3473. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/default.cpp -o build/debug/lib/cryptopp/default.o
  3474. lib/cryptopp/default.cpp:86:2: warning: unused variable 'cryptopp_assert_1' [-Wunused-variable]
  3475. CRYPTOPP_COMPILE_ASSERT_INSTANCE(SALTLENGTH <= DefaultHashModule::DIGESTSIZE, 1);
  3476. ^
  3477. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3478. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3479. ^
  3480. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3481. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3482. ^
  3483. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3484. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3485. ^
  3486. <scratch space>:127:1: note: expanded from here
  3487. cryptopp_assert_1
  3488. ^
  3489. lib/cryptopp/default.cpp:87:2: warning: unused variable 'cryptopp_assert_2' [-Wunused-variable]
  3490. CRYPTOPP_COMPILE_ASSERT_INSTANCE(BLOCKSIZE <= DefaultHashModule::DIGESTSIZE, 2);
  3491. ^
  3492. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3493. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3494. ^
  3495. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3496. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3497. ^
  3498. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3499. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3500. ^
  3501. <scratch space>:128:1: note: expanded from here
  3502. cryptopp_assert_2
  3503. ^
  3504. In file included from lib/cryptopp/default.cpp:4:
  3505. In file included from lib/cryptopp/default.h:4:
  3506. In file included from lib/cryptopp/sha.h:4:
  3507. In file included from lib/cryptopp/iterhash.h:5:
  3508. In file included from lib/cryptopp/secblock.h:7:
  3509. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3510. [-Wtautological-compare]
  3511. if (a < 0)
  3512. ~ ^ ~
  3513. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  3514. 'CryptoPP::IntToString<unsigned long>' requested here
  3515. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  3516. ^
  3517. In file included from lib/cryptopp/default.cpp:4:
  3518. In file included from lib/cryptopp/default.h:4:
  3519. In file included from lib/cryptopp/sha.h:4:
  3520. In file included from lib/cryptopp/iterhash.h:5:
  3521. In file included from lib/cryptopp/secblock.h:7:
  3522. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3523. [-Wtautological-compare]
  3524. if (a < 0)
  3525. ~ ^ ~
  3526. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  3527. 'CryptoPP::IntToString<unsigned int>' requested here
  3528. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  3529. ^
  3530. In file included from lib/cryptopp/default.cpp:4:
  3531. In file included from lib/cryptopp/default.h:7:
  3532. In file included from lib/cryptopp/filters.h:11:
  3533. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  3534. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  3535. ^
  3536. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  3537. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  3538. ^
  3539. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3540. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3541. ^
  3542. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3543. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3544. ^
  3545. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3546. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3547. ^
  3548. <scratch space>:502:1: note: expanded from here
  3549. cryptopp_assert_26
  3550. ^
  3551. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  3552. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  3553. requested here
  3554. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  3555. ^
  3556. In file included from lib/cryptopp/default.cpp:4:
  3557. In file included from lib/cryptopp/default.h:7:
  3558. In file included from lib/cryptopp/filters.h:11:
  3559. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3560. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3561. ^
  3562. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3563. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  3564. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3565. ^
  3566. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  3567. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  3568. return AlgorithmParameters()(name, value, throwIfNotUsed);
  3569. ^
  3570. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  3571. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  3572. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  3573. ^
  3574. In file included from lib/cryptopp/default.cpp:4:
  3575. In file included from lib/cryptopp/default.h:5:
  3576. In file included from lib/cryptopp/hmac.h:6:
  3577. lib/cryptopp/seckey.h:100:9: warning: comparison of unsigned expression < 0 is always false
  3578. [-Wtautological-compare]
  3579. if (n < (size_t)MIN_KEYLENGTH)
  3580. ~ ^ ~~~~~~~~~~~~~~~~~~~~~
  3581. lib/cryptopp/default.cpp:197:36: note: in instantiation of member function
  3582. 'CryptoPP::VariableKeyLength<16, 0, 2147483647, 1, 4, 0>::StaticGetValidKeyLength' requested here
  3583. size_t macKeyLength = DefaultMAC::StaticGetValidKeyLength(16);
  3584. ^
  3585. In file included from lib/cryptopp/default.cpp:4:
  3586. In file included from lib/cryptopp/default.h:4:
  3587. In file included from lib/cryptopp/sha.h:4:
  3588. In file included from lib/cryptopp/iterhash.h:5:
  3589. In file included from lib/cryptopp/secblock.h:7:
  3590. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  3591. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  3592. ^
  3593. 8 warnings generated.
  3594. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/des.cpp -o build/debug/lib/cryptopp/des.o
  3595. In file included from lib/cryptopp/des.cpp:18:
  3596. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3597. [-Wtautological-compare]
  3598. if (a < 0)
  3599. ~ ^ ~
  3600. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  3601. 'CryptoPP::IntToString<unsigned long>' requested here
  3602. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  3603. ^
  3604. In file included from lib/cryptopp/des.cpp:18:
  3605. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3606. [-Wtautological-compare]
  3607. if (a < 0)
  3608. ~ ^ ~
  3609. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  3610. 'CryptoPP::IntToString<unsigned int>' requested here
  3611. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  3612. ^
  3613. In file included from lib/cryptopp/des.cpp:18:
  3614. lib/cryptopp/misc.h:1165:3: warning: unused variable 'cryptopp_assert_1165' [-Wunused-variable]
  3615. CRYPTOPP_COMPILE_ASSERT(sizeof(U) >= sizeof(T));
  3616. ^
  3617. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  3618. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  3619. ^
  3620. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3621. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3622. ^
  3623. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3624. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3625. ^
  3626. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3627. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3628. ^
  3629. <scratch space>:459:1: note: expanded from here
  3630. cryptopp_assert_1165
  3631. ^
  3632. lib/cryptopp/des.cpp:366:21: note: in instantiation of function template specialization
  3633. 'CryptoPP::GetBlock<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>,
  3634. false>::operator()<unsigned int>' requested here
  3635. Block::Get(inBlock)(l)(r);
  3636. ^
  3637. In file included from lib/cryptopp/des.cpp:18:
  3638. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  3639. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  3640. ^
  3641. 4 warnings generated.
  3642. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/dessp.cpp -o build/debug/lib/cryptopp/dessp.o
  3643. In file included from lib/cryptopp/dessp.cpp:7:
  3644. In file included from lib/cryptopp/des.h:7:
  3645. In file included from lib/cryptopp/seckey.h:9:
  3646. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3647. [-Wtautological-compare]
  3648. if (a < 0)
  3649. ~ ^ ~
  3650. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  3651. 'CryptoPP::IntToString<unsigned long>' requested here
  3652. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  3653. ^
  3654. In file included from lib/cryptopp/dessp.cpp:7:
  3655. In file included from lib/cryptopp/des.h:7:
  3656. In file included from lib/cryptopp/seckey.h:9:
  3657. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3658. [-Wtautological-compare]
  3659. if (a < 0)
  3660. ~ ^ ~
  3661. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  3662. 'CryptoPP::IntToString<unsigned int>' requested here
  3663. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  3664. ^
  3665. In file included from lib/cryptopp/dessp.cpp:7:
  3666. In file included from lib/cryptopp/des.h:7:
  3667. In file included from lib/cryptopp/seckey.h:9:
  3668. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  3669. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  3670. ^
  3671. 3 warnings generated.
  3672. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/dh.cpp -o build/debug/lib/cryptopp/dh.o
  3673. In file included from lib/cryptopp/dh.cpp:7:
  3674. In file included from lib/cryptopp/dh.h:7:
  3675. In file included from lib/cryptopp/gfpcrypt.h:8:
  3676. In file included from lib/cryptopp/pubkey.h:35:
  3677. In file included from lib/cryptopp/modarith.h:7:
  3678. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3679. [-Wtautological-compare]
  3680. if (a < 0)
  3681. ~ ^ ~
  3682. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  3683. 'CryptoPP::IntToString<unsigned long>' requested here
  3684. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  3685. ^
  3686. In file included from lib/cryptopp/dh.cpp:7:
  3687. In file included from lib/cryptopp/dh.h:7:
  3688. In file included from lib/cryptopp/gfpcrypt.h:8:
  3689. In file included from lib/cryptopp/pubkey.h:35:
  3690. In file included from lib/cryptopp/modarith.h:7:
  3691. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3692. [-Wtautological-compare]
  3693. if (a < 0)
  3694. ~ ^ ~
  3695. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  3696. 'CryptoPP::IntToString<unsigned int>' requested here
  3697. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  3698. ^
  3699. In file included from lib/cryptopp/dh.cpp:7:
  3700. In file included from lib/cryptopp/dh.h:7:
  3701. In file included from lib/cryptopp/gfpcrypt.h:8:
  3702. In file included from lib/cryptopp/pubkey.h:36:
  3703. In file included from lib/cryptopp/filters.h:11:
  3704. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  3705. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  3706. ^
  3707. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  3708. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  3709. ^
  3710. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3711. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3712. ^
  3713. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3714. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3715. ^
  3716. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3717. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3718. ^
  3719. <scratch space>:488:1: note: expanded from here
  3720. cryptopp_assert_26
  3721. ^
  3722. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  3723. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  3724. requested here
  3725. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  3726. ^
  3727. In file included from lib/cryptopp/dh.cpp:7:
  3728. In file included from lib/cryptopp/dh.h:7:
  3729. In file included from lib/cryptopp/gfpcrypt.h:8:
  3730. In file included from lib/cryptopp/pubkey.h:36:
  3731. In file included from lib/cryptopp/filters.h:11:
  3732. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3733. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3734. ^
  3735. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3736. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  3737. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3738. ^
  3739. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  3740. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  3741. return AlgorithmParameters()(name, value, throwIfNotUsed);
  3742. ^
  3743. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  3744. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  3745. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  3746. ^
  3747. In file included from lib/cryptopp/dh.cpp:7:
  3748. In file included from lib/cryptopp/dh.h:7:
  3749. In file included from lib/cryptopp/gfpcrypt.h:8:
  3750. In file included from lib/cryptopp/pubkey.h:35:
  3751. In file included from lib/cryptopp/modarith.h:7:
  3752. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  3753. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  3754. ^
  3755. 5 warnings generated.
  3756. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/dh2.cpp -o build/debug/lib/cryptopp/dh2.o
  3757. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/dll.cpp -o build/debug/lib/cryptopp/dll.o
  3758. In file included from lib/cryptopp/dll.cpp:6:
  3759. In file included from lib/cryptopp/dll.h:13:
  3760. In file included from lib/cryptopp/ccm.h:5:
  3761. In file included from lib/cryptopp/modes.h:12:
  3762. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3763. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3764. ^
  3765. lib/cryptopp/algparam.h:329:29: note: in instantiation of member function
  3766. 'CryptoPP::AlgorithmParametersTemplate<bool>::MoveInto' requested here
  3767. CRYPTOPP_DLL_TEMPLATE_CLASS AlgorithmParametersTemplate<bool>;
  3768. ^
  3769. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3770. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3771. ^
  3772. lib/cryptopp/algparam.h:330:29: note: in instantiation of member function
  3773. 'CryptoPP::AlgorithmParametersTemplate<int>::MoveInto' requested here
  3774. CRYPTOPP_DLL_TEMPLATE_CLASS AlgorithmParametersTemplate<int>;
  3775. ^
  3776. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3777. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3778. ^
  3779. lib/cryptopp/algparam.h:331:29: note: in instantiation of member function
  3780. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::ConstByteArrayParameter>::MoveInto' requested here
  3781. CRYPTOPP_DLL_TEMPLATE_CLASS AlgorithmParametersTemplate<ConstByteArrayParameter>;
  3782. ^
  3783. lib/cryptopp/dll.cpp:7:9: warning: unknown pragma ignored [-Wunknown-pragmas]
  3784. #pragma warning(default: 4660)
  3785. ^
  3786. In file included from lib/cryptopp/dll.cpp:6:
  3787. In file included from lib/cryptopp/dll.h:11:
  3788. In file included from lib/cryptopp/aes.h:4:
  3789. In file included from lib/cryptopp/rijndael.h:7:
  3790. In file included from lib/cryptopp/seckey.h:9:
  3791. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3792. [-Wtautological-compare]
  3793. if (a < 0)
  3794. ~ ^ ~
  3795. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  3796. 'CryptoPP::IntToString<unsigned long>' requested here
  3797. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  3798. ^
  3799. In file included from lib/cryptopp/dll.cpp:6:
  3800. In file included from lib/cryptopp/dll.h:11:
  3801. In file included from lib/cryptopp/aes.h:4:
  3802. In file included from lib/cryptopp/rijndael.h:7:
  3803. In file included from lib/cryptopp/seckey.h:9:
  3804. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  3805. [-Wtautological-compare]
  3806. if (a < 0)
  3807. ~ ^ ~
  3808. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  3809. 'CryptoPP::IntToString<unsigned int>' requested here
  3810. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  3811. ^
  3812. In file included from lib/cryptopp/dll.cpp:6:
  3813. In file included from lib/cryptopp/dll.h:13:
  3814. In file included from lib/cryptopp/ccm.h:5:
  3815. In file included from lib/cryptopp/modes.h:12:
  3816. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  3817. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  3818. ^
  3819. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  3820. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  3821. ^
  3822. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  3823. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  3824. ^
  3825. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  3826. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  3827. ^
  3828. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  3829. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  3830. ^
  3831. <scratch space>:72:1: note: expanded from here
  3832. cryptopp_assert_26
  3833. ^
  3834. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  3835. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  3836. requested here
  3837. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  3838. ^
  3839. In file included from lib/cryptopp/dll.cpp:6:
  3840. In file included from lib/cryptopp/dll.h:13:
  3841. In file included from lib/cryptopp/ccm.h:5:
  3842. In file included from lib/cryptopp/modes.h:12:
  3843. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3844. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3845. ^
  3846. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3847. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  3848. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3849. ^
  3850. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  3851. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  3852. return AlgorithmParameters()(name, value, throwIfNotUsed);
  3853. ^
  3854. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  3855. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  3856. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  3857. ^
  3858. In file included from lib/cryptopp/dll.cpp:6:
  3859. In file included from lib/cryptopp/dll.h:13:
  3860. In file included from lib/cryptopp/ccm.h:5:
  3861. In file included from lib/cryptopp/modes.h:12:
  3862. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3863. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3864. ^
  3865. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3866. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::Integer>::MoveInto' requested here
  3867. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3868. ^
  3869. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  3870. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::Integer>' requested here
  3871. return AlgorithmParameters()(name, value, throwIfNotUsed);
  3872. ^
  3873. lib/cryptopp/gfpcrypt.h:236:30: note: in instantiation of function template specialization
  3874. 'CryptoPP::MakeParameters<CryptoPP::Integer>' requested here
  3875. {this->GenerateRandom(rng, MakeParameters("Modulus", p)("SubgroupGenerator", g));}
  3876. ^
  3877. In file included from lib/cryptopp/dll.cpp:6:
  3878. In file included from lib/cryptopp/dll.h:11:
  3879. In file included from lib/cryptopp/aes.h:4:
  3880. In file included from lib/cryptopp/rijndael.h:7:
  3881. In file included from lib/cryptopp/seckey.h:9:
  3882. lib/cryptopp/misc.h:134:3: warning: delete called on
  3883. 'CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer,
  3884. CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> >' that has virtual functions but
  3885. non-virtual destructor [-Wdelete-non-virtual-dtor]
  3886. delete newObject;
  3887. ^
  3888. lib/cryptopp/dh.h:85:37: note: in instantiation of member function
  3889. 'CryptoPP::Singleton<CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer,
  3890. CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> >,
  3891. CryptoPP::NewObject<CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer,
  3892. CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> > >, 0>::Ref' requested here
  3893. {return Singleton<DH_Algorithm>().Ref();}
  3894. ^
  3895. In file included from lib/cryptopp/dll.cpp:6:
  3896. In file included from lib/cryptopp/dll.h:11:
  3897. In file included from lib/cryptopp/aes.h:4:
  3898. In file included from lib/cryptopp/rijndael.h:7:
  3899. In file included from lib/cryptopp/seckey.h:9:
  3900. In file included from lib/cryptopp/misc.h:5:
  3901. lib/cryptopp/smartptr.h:13:17: warning: delete called on
  3902. 'CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer,
  3903. CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> >' that has virtual functions but
  3904. non-virtual destructor [-Wdelete-non-virtual-dtor]
  3905. ~simple_ptr() {delete m_p; m_p = NULL;} // set m_p to NULL so double destruction ...
  3906. ^
  3907. lib/cryptopp/misc.h:123:32: note: in instantiation of member function
  3908. 'CryptoPP::simple_ptr<CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer,
  3909. CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> > >::~simple_ptr' requested here
  3910. static volatile simple_ptr<T> s_pObject;
  3911. ^
  3912. lib/cryptopp/dh.h:85:37: note: in instantiation of member function
  3913. 'CryptoPP::Singleton<CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer,
  3914. CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> >,
  3915. CryptoPP::NewObject<CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer,
  3916. CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> > >, 0>::Ref' requested here
  3917. {return Singleton<DH_Algorithm>().Ref();}
  3918. ^
  3919. In file included from lib/cryptopp/dll.cpp:6:
  3920. In file included from lib/cryptopp/dll.h:13:
  3921. In file included from lib/cryptopp/ccm.h:5:
  3922. In file included from lib/cryptopp/modes.h:12:
  3923. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3924. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3925. ^
  3926. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3927. 'CryptoPP::AlgorithmParametersTemplate<const unsigned char *>::MoveInto' requested here
  3928. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3929. ^
  3930. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  3931. 'CryptoPP::AlgorithmParameters::operator()<const unsigned char *>' requested here
  3932. return AlgorithmParameters()(name, value, throwIfNotUsed);
  3933. ^
  3934. lib/cryptopp/basecode.h:20:22: note: in instantiation of function template specialization
  3935. 'CryptoPP::MakeParameters<const unsigned char *>' requested here
  3936. IsolatedInitialize(MakeParameters(Name::EncodingLookupArray(), alphabet)
  3937. ^
  3938. In file included from lib/cryptopp/dll.cpp:6:
  3939. In file included from lib/cryptopp/dll.h:13:
  3940. In file included from lib/cryptopp/ccm.h:5:
  3941. In file included from lib/cryptopp/modes.h:12:
  3942. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3943. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3944. ^
  3945. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3946. 'CryptoPP::AlgorithmParametersTemplate<unsigned char>::MoveInto' requested here
  3947. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3948. ^
  3949. lib/cryptopp/algparam.h:364:10: note: in instantiation of function template specialization
  3950. 'CryptoPP::AlgorithmParameters::operator()<unsigned char>' requested here
  3951. return operator()(name, value, m_defaultThrowIfNotUsed);
  3952. ^
  3953. lib/cryptopp/basecode.h:23:4: note: in instantiation of function template specialization
  3954. 'CryptoPP::AlgorithmParameters::operator()<unsigned char>' requested here
  3955. (Name::PaddingByte(), byte(padding)));
  3956. ^
  3957. In file included from lib/cryptopp/dll.cpp:6:
  3958. In file included from lib/cryptopp/dll.h:13:
  3959. In file included from lib/cryptopp/ccm.h:5:
  3960. In file included from lib/cryptopp/modes.h:12:
  3961. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3962. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3963. ^
  3964. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3965. 'CryptoPP::AlgorithmParametersTemplate<const int *>::MoveInto' requested here
  3966. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3967. ^
  3968. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  3969. 'CryptoPP::AlgorithmParameters::operator()<const int *>' requested here
  3970. return AlgorithmParameters()(name, value, throwIfNotUsed);
  3971. ^
  3972. lib/cryptopp/basecode.h:46:22: note: in instantiation of function template specialization
  3973. 'CryptoPP::MakeParameters<const int *>' requested here
  3974. IsolatedInitialize(MakeParameters(Name::DecodingLookupArray(), lookup)(Name::Log2...
  3975. ^
  3976. In file included from lib/cryptopp/dll.cpp:6:
  3977. In file included from lib/cryptopp/dll.h:13:
  3978. In file included from lib/cryptopp/ccm.h:5:
  3979. In file included from lib/cryptopp/modes.h:12:
  3980. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  3981. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  3982. ^
  3983. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  3984. 'CryptoPP::AlgorithmParametersTemplate<std::__1::basic_istream<char> *>::MoveInto' requested here
  3985. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  3986. ^
  3987. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  3988. 'CryptoPP::AlgorithmParameters::operator()<std::__1::basic_istream<char> *>' requested here
  3989. return AlgorithmParameters()(name, value, throwIfNotUsed);
  3990. ^
  3991. lib/cryptopp/files.h:27:20: note: in instantiation of function template specialization
  3992. 'CryptoPP::MakeParameters<std::__1::basic_istream<char> *>' requested here
  3993. {StoreInitialize(MakeParameters(Name::InputStreamPointer(), &in));}
  3994. ^
  3995. In file included from lib/cryptopp/dll.cpp:6:
  3996. In file included from lib/cryptopp/dll.h:13:
  3997. In file included from lib/cryptopp/ccm.h:5:
  3998. In file included from lib/cryptopp/modes.h:12:
  3999. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4000. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4001. ^
  4002. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4003. 'CryptoPP::AlgorithmParametersTemplate<const char *>::MoveInto' requested here
  4004. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4005. ^
  4006. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4007. 'CryptoPP::AlgorithmParameters::operator()<const char *>' requested here
  4008. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4009. ^
  4010. lib/cryptopp/files.h:29:20: note: in instantiation of function template specialization
  4011. 'CryptoPP::MakeParameters<const char *>' requested here
  4012. {StoreInitialize(MakeParameters(Name::InputFileName(), filename));}
  4013. ^
  4014. In file included from lib/cryptopp/dll.cpp:6:
  4015. In file included from lib/cryptopp/dll.h:13:
  4016. In file included from lib/cryptopp/ccm.h:5:
  4017. In file included from lib/cryptopp/modes.h:12:
  4018. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4019. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4020. ^
  4021. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4022. 'CryptoPP::AlgorithmParametersTemplate<std::__1::basic_ostream<char> *>::MoveInto' requested here
  4023. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4024. ^
  4025. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4026. 'CryptoPP::AlgorithmParameters::operator()<std::__1::basic_ostream<char> *>' requested here
  4027. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4028. ^
  4029. lib/cryptopp/files.h:90:23: note: in instantiation of function template specialization
  4030. 'CryptoPP::MakeParameters<std::__1::basic_ostream<char> *>' requested here
  4031. {IsolatedInitialize(MakeParameters(Name::OutputStreamPointer(), &out));}
  4032. ^
  4033. In file included from lib/cryptopp/dll.cpp:6:
  4034. In file included from lib/cryptopp/dll.h:11:
  4035. In file included from lib/cryptopp/aes.h:4:
  4036. In file included from lib/cryptopp/rijndael.h:7:
  4037. In file included from lib/cryptopp/seckey.h:9:
  4038. lib/cryptopp/misc.h:134:3: warning: delete called on 'CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>'
  4039. that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
  4040. delete newObject;
  4041. ^
  4042. lib/cryptopp/pubkey.h:1323:72: note: in instantiation of member function
  4043. 'CryptoPP::Singleton<CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>,
  4044. CryptoPP::NewObject<CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer> >, 0>::Ref' requested here
  4045. {return Singleton<CPP_TYPENAME SCHEME_OPTIONS::SignatureAlgorithm>().Ref();}
  4046. ^
  4047. lib/cryptopp/pubkey.h:830:38: note: in instantiation of member function
  4048. 'CryptoPP::DL_ObjectImpl<CryptoPP::DL_SignerBase<CryptoPP::Integer>,
  4049. CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DSA2<CryptoPP::SHA1>, CryptoPP::DL_Keys_DSA,
  4050. CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA,
  4051. CryptoPP::SHA1>,
  4052. CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest<DL_PrivateKey_GFP<CryptoPP::DL_GroupParameters_DSA>,
  4053. DSA2<SHA> > >::GetSignatureAlgorithm' requested here
  4054. typename SIGNATURE_SCHEME::Signer signer(*this);
  4055. ^
  4056. In file included from lib/cryptopp/dll.cpp:6:
  4057. In file included from lib/cryptopp/dll.h:11:
  4058. In file included from lib/cryptopp/aes.h:4:
  4059. In file included from lib/cryptopp/rijndael.h:7:
  4060. In file included from lib/cryptopp/seckey.h:9:
  4061. In file included from lib/cryptopp/misc.h:5:
  4062. lib/cryptopp/smartptr.h:13:17: warning: delete called on 'CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>'
  4063. that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
  4064. ~simple_ptr() {delete m_p; m_p = NULL;} // set m_p to NULL so double destruction ...
  4065. ^
  4066. lib/cryptopp/misc.h:123:32: note: in instantiation of member function
  4067. 'CryptoPP::simple_ptr<CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer> >::~simple_ptr' requested here
  4068. static volatile simple_ptr<T> s_pObject;
  4069. ^
  4070. lib/cryptopp/pubkey.h:1323:72: note: in instantiation of member function
  4071. 'CryptoPP::Singleton<CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>,
  4072. CryptoPP::NewObject<CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer> >, 0>::Ref' requested here
  4073. {return Singleton<CPP_TYPENAME SCHEME_OPTIONS::SignatureAlgorithm>().Ref();}
  4074. ^
  4075. lib/cryptopp/pubkey.h:830:38: note: in instantiation of member function
  4076. 'CryptoPP::DL_ObjectImpl<CryptoPP::DL_SignerBase<CryptoPP::Integer>,
  4077. CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DSA2<CryptoPP::SHA1>, CryptoPP::DL_Keys_DSA,
  4078. CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA,
  4079. CryptoPP::SHA1>,
  4080. CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest<DL_PrivateKey_GFP<CryptoPP::DL_GroupParameters_DSA>,
  4081. DSA2<SHA> > >::GetSignatureAlgorithm' requested here
  4082. typename SIGNATURE_SCHEME::Signer signer(*this);
  4083. ^
  4084. In file included from lib/cryptopp/dll.cpp:6:
  4085. In file included from lib/cryptopp/dll.h:11:
  4086. In file included from lib/cryptopp/aes.h:4:
  4087. In file included from lib/cryptopp/rijndael.h:7:
  4088. In file included from lib/cryptopp/seckey.h:9:
  4089. lib/cryptopp/misc.h:134:3: warning: delete called on 'CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>' that
  4090. has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
  4091. delete newObject;
  4092. ^
  4093. lib/cryptopp/pubkey.h:1323:72: note: in instantiation of member function
  4094. 'CryptoPP::Singleton<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>,
  4095. CryptoPP::NewObject<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP> >, 0>::Ref' requested here
  4096. {return Singleton<CPP_TYPENAME SCHEME_OPTIONS::SignatureAlgorithm>().Ref();}
  4097. ^
  4098. lib/cryptopp/pubkey.h:830:38: note: in instantiation of member function
  4099. 'CryptoPP::DL_ObjectImpl<CryptoPP::DL_SignerBase<CryptoPP::ECPPoint>,
  4100. CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>,
  4101. CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA,
  4102. CryptoPP::SHA256, int>, CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>,
  4103. CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA,
  4104. CryptoPP::SHA256>,
  4105. CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest<DL_PrivateKey_EC<CryptoPP::ECP>,
  4106. ECDSA<CryptoPP::ECP, CryptoPP::SHA256> > >::GetSignatureAlgorithm' requested here
  4107. typename SIGNATURE_SCHEME::Signer signer(*this);
  4108. ^
  4109. In file included from lib/cryptopp/dll.cpp:6:
  4110. In file included from lib/cryptopp/dll.h:11:
  4111. In file included from lib/cryptopp/aes.h:4:
  4112. In file included from lib/cryptopp/rijndael.h:7:
  4113. In file included from lib/cryptopp/seckey.h:9:
  4114. In file included from lib/cryptopp/misc.h:5:
  4115. lib/cryptopp/smartptr.h:13:17: warning: delete called on 'CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>'
  4116. that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
  4117. ~simple_ptr() {delete m_p; m_p = NULL;} // set m_p to NULL so double destruction ...
  4118. ^
  4119. lib/cryptopp/misc.h:123:32: note: in instantiation of member function
  4120. 'CryptoPP::simple_ptr<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP> >::~simple_ptr' requested here
  4121. static volatile simple_ptr<T> s_pObject;
  4122. ^
  4123. lib/cryptopp/pubkey.h:1323:72: note: in instantiation of member function
  4124. 'CryptoPP::Singleton<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>,
  4125. CryptoPP::NewObject<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP> >, 0>::Ref' requested here
  4126. {return Singleton<CPP_TYPENAME SCHEME_OPTIONS::SignatureAlgorithm>().Ref();}
  4127. ^
  4128. lib/cryptopp/pubkey.h:830:38: note: in instantiation of member function
  4129. 'CryptoPP::DL_ObjectImpl<CryptoPP::DL_SignerBase<CryptoPP::ECPPoint>,
  4130. CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>,
  4131. CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA,
  4132. CryptoPP::SHA256, int>, CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>,
  4133. CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA,
  4134. CryptoPP::SHA256>,
  4135. CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest<DL_PrivateKey_EC<CryptoPP::ECP>,
  4136. ECDSA<CryptoPP::ECP, CryptoPP::SHA256> > >::GetSignatureAlgorithm' requested here
  4137. typename SIGNATURE_SCHEME::Signer signer(*this);
  4138. ^
  4139. In file included from lib/cryptopp/dll.cpp:6:
  4140. In file included from lib/cryptopp/dll.h:11:
  4141. In file included from lib/cryptopp/aes.h:4:
  4142. In file included from lib/cryptopp/rijndael.h:7:
  4143. In file included from lib/cryptopp/seckey.h:9:
  4144. lib/cryptopp/misc.h:134:3: warning: delete called on 'CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>' that
  4145. has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
  4146. delete newObject;
  4147. ^
  4148. lib/cryptopp/pubkey.h:1323:72: note: in instantiation of member function
  4149. 'CryptoPP::Singleton<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>,
  4150. CryptoPP::NewObject<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N> >, 0>::Ref' requested here
  4151. {return Singleton<CPP_TYPENAME SCHEME_OPTIONS::SignatureAlgorithm>().Ref();}
  4152. ^
  4153. lib/cryptopp/pubkey.h:830:38: note: in instantiation of member function
  4154. 'CryptoPP::DL_ObjectImpl<CryptoPP::DL_SignerBase<CryptoPP::EC2NPoint>,
  4155. CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::EC2N>,
  4156. CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA,
  4157. CryptoPP::SHA256, int>, CryptoPP::DL_Keys_ECDSA<CryptoPP::EC2N>,
  4158. CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA,
  4159. CryptoPP::SHA256>,
  4160. CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest<DL_PrivateKey_EC<CryptoPP::EC2N>,
  4161. ECDSA<CryptoPP::EC2N, CryptoPP::SHA256> > >::GetSignatureAlgorithm' requested here
  4162. typename SIGNATURE_SCHEME::Signer signer(*this);
  4163. ^
  4164. In file included from lib/cryptopp/dll.cpp:6:
  4165. In file included from lib/cryptopp/dll.h:11:
  4166. In file included from lib/cryptopp/aes.h:4:
  4167. In file included from lib/cryptopp/rijndael.h:7:
  4168. In file included from lib/cryptopp/seckey.h:9:
  4169. In file included from lib/cryptopp/misc.h:5:
  4170. lib/cryptopp/smartptr.h:13:17: warning: delete called on 'CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>'
  4171. that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
  4172. ~simple_ptr() {delete m_p; m_p = NULL;} // set m_p to NULL so double destruction ...
  4173. ^
  4174. lib/cryptopp/misc.h:123:32: note: in instantiation of member function
  4175. 'CryptoPP::simple_ptr<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N> >::~simple_ptr' requested here
  4176. static volatile simple_ptr<T> s_pObject;
  4177. ^
  4178. lib/cryptopp/pubkey.h:1323:72: note: in instantiation of member function
  4179. 'CryptoPP::Singleton<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>,
  4180. CryptoPP::NewObject<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N> >, 0>::Ref' requested here
  4181. {return Singleton<CPP_TYPENAME SCHEME_OPTIONS::SignatureAlgorithm>().Ref();}
  4182. ^
  4183. lib/cryptopp/pubkey.h:830:38: note: in instantiation of member function
  4184. 'CryptoPP::DL_ObjectImpl<CryptoPP::DL_SignerBase<CryptoPP::EC2NPoint>,
  4185. CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::EC2N>,
  4186. CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA,
  4187. CryptoPP::SHA256, int>, CryptoPP::DL_Keys_ECDSA<CryptoPP::EC2N>,
  4188. CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA,
  4189. CryptoPP::SHA256>,
  4190. CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest<DL_PrivateKey_EC<CryptoPP::EC2N>,
  4191. ECDSA<CryptoPP::EC2N, CryptoPP::SHA256> > >::GetSignatureAlgorithm' requested here
  4192. typename SIGNATURE_SCHEME::Signer signer(*this);
  4193. ^
  4194. In file included from lib/cryptopp/dll.cpp:6:
  4195. In file included from lib/cryptopp/dll.h:11:
  4196. In file included from lib/cryptopp/aes.h:4:
  4197. In file included from lib/cryptopp/rijndael.h:7:
  4198. In file included from lib/cryptopp/seckey.h:9:
  4199. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  4200. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  4201. ^
  4202. 24 warnings generated.
  4203. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/dsa.cpp -o build/debug/lib/cryptopp/dsa.o
  4204. In file included from lib/cryptopp/dsa.cpp:7:
  4205. In file included from lib/cryptopp/dsa.h:7:
  4206. In file included from lib/cryptopp/gfpcrypt.h:8:
  4207. In file included from lib/cryptopp/pubkey.h:35:
  4208. In file included from lib/cryptopp/modarith.h:7:
  4209. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4210. [-Wtautological-compare]
  4211. if (a < 0)
  4212. ~ ^ ~
  4213. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  4214. 'CryptoPP::IntToString<unsigned long>' requested here
  4215. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  4216. ^
  4217. In file included from lib/cryptopp/dsa.cpp:7:
  4218. In file included from lib/cryptopp/dsa.h:7:
  4219. In file included from lib/cryptopp/gfpcrypt.h:8:
  4220. In file included from lib/cryptopp/pubkey.h:35:
  4221. In file included from lib/cryptopp/modarith.h:7:
  4222. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4223. [-Wtautological-compare]
  4224. if (a < 0)
  4225. ~ ^ ~
  4226. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  4227. 'CryptoPP::IntToString<unsigned int>' requested here
  4228. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  4229. ^
  4230. In file included from lib/cryptopp/dsa.cpp:7:
  4231. In file included from lib/cryptopp/dsa.h:7:
  4232. In file included from lib/cryptopp/gfpcrypt.h:8:
  4233. In file included from lib/cryptopp/pubkey.h:36:
  4234. In file included from lib/cryptopp/filters.h:11:
  4235. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  4236. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  4237. ^
  4238. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  4239. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  4240. ^
  4241. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  4242. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  4243. ^
  4244. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  4245. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  4246. ^
  4247. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  4248. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  4249. ^
  4250. <scratch space>:488:1: note: expanded from here
  4251. cryptopp_assert_26
  4252. ^
  4253. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  4254. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  4255. requested here
  4256. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  4257. ^
  4258. In file included from lib/cryptopp/dsa.cpp:7:
  4259. In file included from lib/cryptopp/dsa.h:7:
  4260. In file included from lib/cryptopp/gfpcrypt.h:8:
  4261. In file included from lib/cryptopp/pubkey.h:36:
  4262. In file included from lib/cryptopp/filters.h:11:
  4263. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4264. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4265. ^
  4266. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4267. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  4268. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4269. ^
  4270. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4271. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  4272. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4273. ^
  4274. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  4275. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  4276. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  4277. ^
  4278. In file included from lib/cryptopp/dsa.cpp:7:
  4279. In file included from lib/cryptopp/dsa.h:7:
  4280. In file included from lib/cryptopp/gfpcrypt.h:8:
  4281. In file included from lib/cryptopp/pubkey.h:35:
  4282. In file included from lib/cryptopp/modarith.h:7:
  4283. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  4284. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  4285. ^
  4286. 5 warnings generated.
  4287. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/eax.cpp -o build/debug/lib/cryptopp/eax.o
  4288. In file included from lib/cryptopp/eax.cpp:4:
  4289. In file included from lib/cryptopp/eax.h:4:
  4290. In file included from lib/cryptopp/authenc.h:5:
  4291. In file included from lib/cryptopp/secblock.h:7:
  4292. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4293. [-Wtautological-compare]
  4294. if (a < 0)
  4295. ~ ^ ~
  4296. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  4297. 'CryptoPP::IntToString<unsigned long>' requested here
  4298. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  4299. ^
  4300. In file included from lib/cryptopp/eax.cpp:4:
  4301. In file included from lib/cryptopp/eax.h:4:
  4302. In file included from lib/cryptopp/authenc.h:5:
  4303. In file included from lib/cryptopp/secblock.h:7:
  4304. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4305. [-Wtautological-compare]
  4306. if (a < 0)
  4307. ~ ^ ~
  4308. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  4309. 'CryptoPP::IntToString<unsigned int>' requested here
  4310. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  4311. ^
  4312. In file included from lib/cryptopp/eax.cpp:4:
  4313. In file included from lib/cryptopp/eax.h:4:
  4314. In file included from lib/cryptopp/authenc.h:5:
  4315. In file included from lib/cryptopp/secblock.h:7:
  4316. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  4317. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  4318. ^
  4319. 3 warnings generated.
  4320. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/ec2n.cpp -o build/debug/lib/cryptopp/ec2n.o
  4321. In file included from lib/cryptopp/ec2n.cpp:7:
  4322. In file included from lib/cryptopp/ec2n.h:4:
  4323. In file included from lib/cryptopp/gf2n.h:7:
  4324. In file included from lib/cryptopp/secblock.h:7:
  4325. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4326. [-Wtautological-compare]
  4327. if (a < 0)
  4328. ~ ^ ~
  4329. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  4330. 'CryptoPP::IntToString<unsigned long>' requested here
  4331. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  4332. ^
  4333. In file included from lib/cryptopp/ec2n.cpp:7:
  4334. In file included from lib/cryptopp/ec2n.h:4:
  4335. In file included from lib/cryptopp/gf2n.h:7:
  4336. In file included from lib/cryptopp/secblock.h:7:
  4337. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4338. [-Wtautological-compare]
  4339. if (a < 0)
  4340. ~ ^ ~
  4341. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  4342. 'CryptoPP::IntToString<unsigned int>' requested here
  4343. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  4344. ^
  4345. In file included from lib/cryptopp/ec2n.cpp:7:
  4346. In file included from lib/cryptopp/ec2n.h:7:
  4347. In file included from lib/cryptopp/pubkey.h:36:
  4348. In file included from lib/cryptopp/filters.h:11:
  4349. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  4350. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  4351. ^
  4352. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  4353. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  4354. ^
  4355. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  4356. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  4357. ^
  4358. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  4359. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  4360. ^
  4361. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  4362. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  4363. ^
  4364. <scratch space>:497:1: note: expanded from here
  4365. cryptopp_assert_26
  4366. ^
  4367. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  4368. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  4369. requested here
  4370. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  4371. ^
  4372. In file included from lib/cryptopp/ec2n.cpp:7:
  4373. In file included from lib/cryptopp/ec2n.h:7:
  4374. In file included from lib/cryptopp/pubkey.h:36:
  4375. In file included from lib/cryptopp/filters.h:11:
  4376. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4377. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4378. ^
  4379. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4380. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  4381. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4382. ^
  4383. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4384. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  4385. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4386. ^
  4387. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  4388. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  4389. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  4390. ^
  4391. In file included from lib/cryptopp/ec2n.cpp:7:
  4392. In file included from lib/cryptopp/ec2n.h:4:
  4393. In file included from lib/cryptopp/gf2n.h:7:
  4394. In file included from lib/cryptopp/secblock.h:7:
  4395. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  4396. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  4397. ^
  4398. 5 warnings generated.
  4399. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/eccrypto.cpp -o build/debug/lib/cryptopp/eccrypto.o
  4400. In file included from lib/cryptopp/eccrypto.cpp:7:
  4401. In file included from lib/cryptopp/eccrypto.h:7:
  4402. In file included from lib/cryptopp/pubkey.h:35:
  4403. In file included from lib/cryptopp/modarith.h:7:
  4404. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4405. [-Wtautological-compare]
  4406. if (a < 0)
  4407. ~ ^ ~
  4408. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  4409. 'CryptoPP::IntToString<unsigned long>' requested here
  4410. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  4411. ^
  4412. In file included from lib/cryptopp/eccrypto.cpp:7:
  4413. In file included from lib/cryptopp/eccrypto.h:7:
  4414. In file included from lib/cryptopp/pubkey.h:35:
  4415. In file included from lib/cryptopp/modarith.h:7:
  4416. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4417. [-Wtautological-compare]
  4418. if (a < 0)
  4419. ~ ^ ~
  4420. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  4421. 'CryptoPP::IntToString<unsigned int>' requested here
  4422. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  4423. ^
  4424. In file included from lib/cryptopp/eccrypto.cpp:7:
  4425. In file included from lib/cryptopp/eccrypto.h:7:
  4426. In file included from lib/cryptopp/pubkey.h:36:
  4427. In file included from lib/cryptopp/filters.h:11:
  4428. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  4429. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  4430. ^
  4431. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  4432. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  4433. ^
  4434. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  4435. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  4436. ^
  4437. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  4438. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  4439. ^
  4440. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  4441. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  4442. ^
  4443. <scratch space>:488:1: note: expanded from here
  4444. cryptopp_assert_26
  4445. ^
  4446. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  4447. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  4448. requested here
  4449. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  4450. ^
  4451. In file included from lib/cryptopp/eccrypto.cpp:7:
  4452. In file included from lib/cryptopp/eccrypto.h:7:
  4453. In file included from lib/cryptopp/pubkey.h:36:
  4454. In file included from lib/cryptopp/filters.h:11:
  4455. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4456. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4457. ^
  4458. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4459. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  4460. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4461. ^
  4462. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4463. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  4464. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4465. ^
  4466. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  4467. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  4468. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  4469. ^
  4470. In file included from lib/cryptopp/eccrypto.cpp:7:
  4471. In file included from lib/cryptopp/eccrypto.h:7:
  4472. In file included from lib/cryptopp/pubkey.h:36:
  4473. In file included from lib/cryptopp/filters.h:11:
  4474. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4475. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4476. ^
  4477. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4478. 'CryptoPP::AlgorithmParametersTemplate<const unsigned char *>::MoveInto' requested here
  4479. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4480. ^
  4481. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4482. 'CryptoPP::AlgorithmParameters::operator()<const unsigned char *>' requested here
  4483. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4484. ^
  4485. lib/cryptopp/basecode.h:20:22: note: in instantiation of function template specialization
  4486. 'CryptoPP::MakeParameters<const unsigned char *>' requested here
  4487. IsolatedInitialize(MakeParameters(Name::EncodingLookupArray(), alphabet)
  4488. ^
  4489. In file included from lib/cryptopp/eccrypto.cpp:7:
  4490. In file included from lib/cryptopp/eccrypto.h:7:
  4491. In file included from lib/cryptopp/pubkey.h:36:
  4492. In file included from lib/cryptopp/filters.h:11:
  4493. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4494. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4495. ^
  4496. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4497. 'CryptoPP::AlgorithmParametersTemplate<unsigned char>::MoveInto' requested here
  4498. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4499. ^
  4500. lib/cryptopp/algparam.h:364:10: note: in instantiation of function template specialization
  4501. 'CryptoPP::AlgorithmParameters::operator()<unsigned char>' requested here
  4502. return operator()(name, value, m_defaultThrowIfNotUsed);
  4503. ^
  4504. lib/cryptopp/basecode.h:23:4: note: in instantiation of function template specialization
  4505. 'CryptoPP::AlgorithmParameters::operator()<unsigned char>' requested here
  4506. (Name::PaddingByte(), byte(padding)));
  4507. ^
  4508. In file included from lib/cryptopp/eccrypto.cpp:7:
  4509. In file included from lib/cryptopp/eccrypto.h:7:
  4510. In file included from lib/cryptopp/pubkey.h:36:
  4511. In file included from lib/cryptopp/filters.h:11:
  4512. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4513. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4514. ^
  4515. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4516. 'CryptoPP::AlgorithmParametersTemplate<const int *>::MoveInto' requested here
  4517. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4518. ^
  4519. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4520. 'CryptoPP::AlgorithmParameters::operator()<const int *>' requested here
  4521. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4522. ^
  4523. lib/cryptopp/basecode.h:46:22: note: in instantiation of function template specialization
  4524. 'CryptoPP::MakeParameters<const int *>' requested here
  4525. IsolatedInitialize(MakeParameters(Name::DecodingLookupArray(), lookup)(Name::Log2...
  4526. ^
  4527. In file included from lib/cryptopp/eccrypto.cpp:7:
  4528. In file included from lib/cryptopp/eccrypto.h:7:
  4529. In file included from lib/cryptopp/pubkey.h:35:
  4530. In file included from lib/cryptopp/modarith.h:7:
  4531. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  4532. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  4533. ^
  4534. lib/cryptopp/eccrypto.cpp:31:16: warning: unused function 'ConvertToInteger' [-Wunused-function]
  4535. static Integer ConvertToInteger(const PolynomialMod2 &x)
  4536. ^
  4537. lib/cryptopp/eccrypto.cpp:44:13: warning: unused function 'CheckMOVCondition' [-Wunused-function]
  4538. static bool CheckMOVCondition(const Integer &q, const Integer &r)
  4539. ^
  4540. lib/cryptopp/eccrypto.cpp:116:13: warning: unused function 'GetRecommendedParameters' [-Wunused-function]
  4541. static void GetRecommendedParameters(const EcRecommendedParameters<EC2N> *&begin, const EcRecomme...
  4542. ^
  4543. lib/cryptopp/eccrypto.cpp:251:13: warning: unused function 'GetRecommendedParameters' [-Wunused-function]
  4544. static void GetRecommendedParameters(const EcRecommendedParameters<ECP> *&begin, const EcRecommen...
  4545. ^
  4546. 12 warnings generated.
  4547. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/ecp.cpp -o build/debug/lib/cryptopp/ecp.o
  4548. In file included from lib/cryptopp/ecp.cpp:7:
  4549. In file included from lib/cryptopp/ecp.h:4:
  4550. In file included from lib/cryptopp/modarith.h:7:
  4551. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4552. [-Wtautological-compare]
  4553. if (a < 0)
  4554. ~ ^ ~
  4555. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  4556. 'CryptoPP::IntToString<unsigned long>' requested here
  4557. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  4558. ^
  4559. In file included from lib/cryptopp/ecp.cpp:7:
  4560. In file included from lib/cryptopp/ecp.h:4:
  4561. In file included from lib/cryptopp/modarith.h:7:
  4562. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4563. [-Wtautological-compare]
  4564. if (a < 0)
  4565. ~ ^ ~
  4566. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  4567. 'CryptoPP::IntToString<unsigned int>' requested here
  4568. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  4569. ^
  4570. In file included from lib/cryptopp/ecp.cpp:7:
  4571. In file included from lib/cryptopp/ecp.h:7:
  4572. In file included from lib/cryptopp/pubkey.h:36:
  4573. In file included from lib/cryptopp/filters.h:11:
  4574. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  4575. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  4576. ^
  4577. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  4578. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  4579. ^
  4580. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  4581. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  4582. ^
  4583. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  4584. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  4585. ^
  4586. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  4587. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  4588. ^
  4589. <scratch space>:488:1: note: expanded from here
  4590. cryptopp_assert_26
  4591. ^
  4592. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  4593. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  4594. requested here
  4595. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  4596. ^
  4597. In file included from lib/cryptopp/ecp.cpp:7:
  4598. In file included from lib/cryptopp/ecp.h:7:
  4599. In file included from lib/cryptopp/pubkey.h:36:
  4600. In file included from lib/cryptopp/filters.h:11:
  4601. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4602. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4603. ^
  4604. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4605. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  4606. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4607. ^
  4608. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4609. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  4610. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4611. ^
  4612. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  4613. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  4614. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  4615. ^
  4616. In file included from lib/cryptopp/ecp.cpp:7:
  4617. In file included from lib/cryptopp/ecp.h:4:
  4618. In file included from lib/cryptopp/modarith.h:7:
  4619. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  4620. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  4621. ^
  4622. 5 warnings generated.
  4623. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/elgamal.cpp -o build/debug/lib/cryptopp/elgamal.o
  4624. In file included from lib/cryptopp/elgamal.cpp:4:
  4625. In file included from lib/cryptopp/elgamal.h:4:
  4626. In file included from lib/cryptopp/modexppc.h:4:
  4627. In file included from lib/cryptopp/modarith.h:7:
  4628. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4629. [-Wtautological-compare]
  4630. if (a < 0)
  4631. ~ ^ ~
  4632. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  4633. 'CryptoPP::IntToString<unsigned long>' requested here
  4634. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  4635. ^
  4636. In file included from lib/cryptopp/elgamal.cpp:4:
  4637. In file included from lib/cryptopp/elgamal.h:4:
  4638. In file included from lib/cryptopp/modexppc.h:4:
  4639. In file included from lib/cryptopp/modarith.h:7:
  4640. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4641. [-Wtautological-compare]
  4642. if (a < 0)
  4643. ~ ^ ~
  4644. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  4645. 'CryptoPP::IntToString<unsigned int>' requested here
  4646. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  4647. ^
  4648. In file included from lib/cryptopp/elgamal.cpp:4:
  4649. In file included from lib/cryptopp/elgamal.h:4:
  4650. In file included from lib/cryptopp/modexppc.h:7:
  4651. In file included from lib/cryptopp/pubkey.h:36:
  4652. In file included from lib/cryptopp/filters.h:11:
  4653. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  4654. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  4655. ^
  4656. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  4657. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  4658. ^
  4659. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  4660. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  4661. ^
  4662. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  4663. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  4664. ^
  4665. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  4666. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  4667. ^
  4668. <scratch space>:488:1: note: expanded from here
  4669. cryptopp_assert_26
  4670. ^
  4671. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  4672. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  4673. requested here
  4674. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  4675. ^
  4676. In file included from lib/cryptopp/elgamal.cpp:4:
  4677. In file included from lib/cryptopp/elgamal.h:4:
  4678. In file included from lib/cryptopp/modexppc.h:7:
  4679. In file included from lib/cryptopp/pubkey.h:36:
  4680. In file included from lib/cryptopp/filters.h:11:
  4681. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4682. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4683. ^
  4684. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4685. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  4686. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4687. ^
  4688. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4689. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  4690. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4691. ^
  4692. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  4693. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  4694. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  4695. ^
  4696. In file included from lib/cryptopp/elgamal.cpp:4:
  4697. In file included from lib/cryptopp/elgamal.h:4:
  4698. In file included from lib/cryptopp/modexppc.h:4:
  4699. In file included from lib/cryptopp/modarith.h:7:
  4700. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  4701. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  4702. ^
  4703. 5 warnings generated.
  4704. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/emsa2.cpp -o build/debug/lib/cryptopp/emsa2.o
  4705. In file included from lib/cryptopp/emsa2.cpp:4:
  4706. In file included from lib/cryptopp/emsa2.h:9:
  4707. In file included from lib/cryptopp/pubkey.h:35:
  4708. In file included from lib/cryptopp/modarith.h:7:
  4709. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4710. [-Wtautological-compare]
  4711. if (a < 0)
  4712. ~ ^ ~
  4713. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  4714. 'CryptoPP::IntToString<unsigned long>' requested here
  4715. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  4716. ^
  4717. In file included from lib/cryptopp/emsa2.cpp:4:
  4718. In file included from lib/cryptopp/emsa2.h:9:
  4719. In file included from lib/cryptopp/pubkey.h:35:
  4720. In file included from lib/cryptopp/modarith.h:7:
  4721. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4722. [-Wtautological-compare]
  4723. if (a < 0)
  4724. ~ ^ ~
  4725. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  4726. 'CryptoPP::IntToString<unsigned int>' requested here
  4727. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  4728. ^
  4729. In file included from lib/cryptopp/emsa2.cpp:4:
  4730. In file included from lib/cryptopp/emsa2.h:9:
  4731. In file included from lib/cryptopp/pubkey.h:36:
  4732. In file included from lib/cryptopp/filters.h:11:
  4733. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  4734. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  4735. ^
  4736. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  4737. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  4738. ^
  4739. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  4740. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  4741. ^
  4742. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  4743. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  4744. ^
  4745. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  4746. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  4747. ^
  4748. <scratch space>:488:1: note: expanded from here
  4749. cryptopp_assert_26
  4750. ^
  4751. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  4752. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  4753. requested here
  4754. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  4755. ^
  4756. In file included from lib/cryptopp/emsa2.cpp:4:
  4757. In file included from lib/cryptopp/emsa2.h:9:
  4758. In file included from lib/cryptopp/pubkey.h:36:
  4759. In file included from lib/cryptopp/filters.h:11:
  4760. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4761. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4762. ^
  4763. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4764. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  4765. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4766. ^
  4767. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4768. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  4769. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4770. ^
  4771. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  4772. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  4773. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  4774. ^
  4775. In file included from lib/cryptopp/emsa2.cpp:4:
  4776. In file included from lib/cryptopp/emsa2.h:9:
  4777. In file included from lib/cryptopp/pubkey.h:35:
  4778. In file included from lib/cryptopp/modarith.h:7:
  4779. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  4780. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  4781. ^
  4782. 5 warnings generated.
  4783. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/eprecomp.cpp -o build/debug/lib/cryptopp/eprecomp.o
  4784. In file included from lib/cryptopp/eprecomp.cpp:7:
  4785. In file included from lib/cryptopp/eprecomp.h:4:
  4786. In file included from lib/cryptopp/integer.h:7:
  4787. In file included from lib/cryptopp/secblock.h:7:
  4788. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4789. [-Wtautological-compare]
  4790. if (a < 0)
  4791. ~ ^ ~
  4792. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  4793. 'CryptoPP::IntToString<unsigned long>' requested here
  4794. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  4795. ^
  4796. In file included from lib/cryptopp/eprecomp.cpp:7:
  4797. In file included from lib/cryptopp/eprecomp.h:4:
  4798. In file included from lib/cryptopp/integer.h:7:
  4799. In file included from lib/cryptopp/secblock.h:7:
  4800. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4801. [-Wtautological-compare]
  4802. if (a < 0)
  4803. ~ ^ ~
  4804. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  4805. 'CryptoPP::IntToString<unsigned int>' requested here
  4806. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  4807. ^
  4808. In file included from lib/cryptopp/eprecomp.cpp:8:
  4809. In file included from lib/cryptopp/asn.h:4:
  4810. In file included from lib/cryptopp/filters.h:11:
  4811. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  4812. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  4813. ^
  4814. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  4815. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  4816. ^
  4817. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  4818. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  4819. ^
  4820. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  4821. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  4822. ^
  4823. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  4824. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  4825. ^
  4826. <scratch space>:488:1: note: expanded from here
  4827. cryptopp_assert_26
  4828. ^
  4829. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  4830. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  4831. requested here
  4832. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  4833. ^
  4834. In file included from lib/cryptopp/eprecomp.cpp:8:
  4835. In file included from lib/cryptopp/asn.h:4:
  4836. In file included from lib/cryptopp/filters.h:11:
  4837. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4838. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4839. ^
  4840. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4841. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  4842. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4843. ^
  4844. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4845. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  4846. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4847. ^
  4848. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  4849. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  4850. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  4851. ^
  4852. In file included from lib/cryptopp/eprecomp.cpp:7:
  4853. In file included from lib/cryptopp/eprecomp.h:4:
  4854. In file included from lib/cryptopp/integer.h:7:
  4855. In file included from lib/cryptopp/secblock.h:7:
  4856. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  4857. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  4858. ^
  4859. 5 warnings generated.
  4860. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/esign.cpp -o build/debug/lib/cryptopp/esign.o
  4861. lib/cryptopp/esign.cpp:161:24: warning: operator '>>' has lower precedence than '+'; '+' will be
  4862. evaluated first [-Wshift-op-parentheses]
  4863. while ((w1 >> 2*GetK()+1).IsPositive());
  4864. ~~ ~~~~~~~~^~
  4865. lib/cryptopp/esign.cpp:161:24: note: place parentheses around the '+' expression to silence this warning
  4866. while ((w1 >> 2*GetK()+1).IsPositive());
  4867. ^
  4868. ( )
  4869. In file included from lib/cryptopp/esign.cpp:4:
  4870. In file included from lib/cryptopp/esign.h:9:
  4871. In file included from lib/cryptopp/pubkey.h:35:
  4872. In file included from lib/cryptopp/modarith.h:7:
  4873. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4874. [-Wtautological-compare]
  4875. if (a < 0)
  4876. ~ ^ ~
  4877. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  4878. 'CryptoPP::IntToString<unsigned long>' requested here
  4879. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  4880. ^
  4881. In file included from lib/cryptopp/esign.cpp:4:
  4882. In file included from lib/cryptopp/esign.h:9:
  4883. In file included from lib/cryptopp/pubkey.h:35:
  4884. In file included from lib/cryptopp/modarith.h:7:
  4885. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  4886. [-Wtautological-compare]
  4887. if (a < 0)
  4888. ~ ^ ~
  4889. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  4890. 'CryptoPP::IntToString<unsigned int>' requested here
  4891. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  4892. ^
  4893. In file included from lib/cryptopp/esign.cpp:4:
  4894. In file included from lib/cryptopp/esign.h:9:
  4895. In file included from lib/cryptopp/pubkey.h:36:
  4896. In file included from lib/cryptopp/filters.h:11:
  4897. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  4898. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  4899. ^
  4900. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  4901. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  4902. ^
  4903. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  4904. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  4905. ^
  4906. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  4907. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  4908. ^
  4909. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  4910. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  4911. ^
  4912. <scratch space>:488:1: note: expanded from here
  4913. cryptopp_assert_26
  4914. ^
  4915. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  4916. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  4917. requested here
  4918. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  4919. ^
  4920. In file included from lib/cryptopp/esign.cpp:4:
  4921. In file included from lib/cryptopp/esign.h:9:
  4922. In file included from lib/cryptopp/pubkey.h:36:
  4923. In file included from lib/cryptopp/filters.h:11:
  4924. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4925. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4926. ^
  4927. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4928. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  4929. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4930. ^
  4931. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4932. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  4933. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4934. ^
  4935. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  4936. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  4937. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  4938. ^
  4939. In file included from lib/cryptopp/esign.cpp:4:
  4940. In file included from lib/cryptopp/esign.h:9:
  4941. In file included from lib/cryptopp/pubkey.h:36:
  4942. In file included from lib/cryptopp/filters.h:11:
  4943. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4944. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4945. ^
  4946. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4947. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::Integer>::MoveInto' requested here
  4948. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4949. ^
  4950. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  4951. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::Integer>' requested here
  4952. return AlgorithmParameters()(name, value, throwIfNotUsed);
  4953. ^
  4954. lib/cryptopp/esign.cpp:97:35: note: in instantiation of function template specialization
  4955. 'CryptoPP::MakeParameters<CryptoPP::Integer>' requested here
  4956. AlgorithmParameters primeParam = MakeParameters("Min", minP)("Max", maxP)("RandomNumberTy...
  4957. ^
  4958. In file included from lib/cryptopp/esign.cpp:4:
  4959. In file included from lib/cryptopp/esign.h:9:
  4960. In file included from lib/cryptopp/pubkey.h:36:
  4961. In file included from lib/cryptopp/filters.h:11:
  4962. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  4963. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  4964. ^
  4965. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  4966. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::Integer::RandomNumberType>::MoveInto' requested
  4967. here
  4968. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  4969. ^
  4970. lib/cryptopp/algparam.h:364:10: note: in instantiation of function template specialization
  4971. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::Integer::RandomNumberType>' requested here
  4972. return operator()(name, value, m_defaultThrowIfNotUsed);
  4973. ^
  4974. lib/cryptopp/esign.cpp:97:75: note: in instantiation of function template specialization
  4975. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::Integer::RandomNumberType>' requested here
  4976. AlgorithmParameters primeParam = MakeParameters("Min", minP)("Max", maxP)("RandomNumberTy...
  4977. ^
  4978. In file included from lib/cryptopp/esign.cpp:4:
  4979. In file included from lib/cryptopp/esign.h:9:
  4980. In file included from lib/cryptopp/pubkey.h:36:
  4981. In file included from lib/cryptopp/filters.h:11:
  4982. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  4983. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  4984. ^
  4985. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  4986. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  4987. ^
  4988. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  4989. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  4990. ^
  4991. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  4992. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  4993. ^
  4994. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  4995. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  4996. ^
  4997. <scratch space>:488:1: note: expanded from here
  4998. cryptopp_assert_26
  4999. ^
  5000. lib/cryptopp/esign.cpp:105:85: note: in instantiation of function template specialization
  5001. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<CryptoPP::SecBlock<unsigned char,
  5002. CryptoPP::AllocatorWithCleanup<byte> > >' requested here
  5003. ...m_p.GenerateRandom(rng, CombinedNameValuePairs(primeParam, MakeParameters("Seed", ConstByteArrayP...
  5004. ^
  5005. In file included from lib/cryptopp/esign.cpp:4:
  5006. In file included from lib/cryptopp/esign.h:9:
  5007. In file included from lib/cryptopp/pubkey.h:35:
  5008. In file included from lib/cryptopp/modarith.h:7:
  5009. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  5010. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  5011. ^
  5012. 9 warnings generated.
  5013. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/files.cpp -o build/debug/lib/cryptopp/files.o
  5014. In file included from lib/cryptopp/files.cpp:7:
  5015. In file included from lib/cryptopp/files.h:5:
  5016. In file included from lib/cryptopp/filters.h:6:
  5017. In file included from lib/cryptopp/simple.h:10:
  5018. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  5019. [-Wtautological-compare]
  5020. if (a < 0)
  5021. ~ ^ ~
  5022. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  5023. 'CryptoPP::IntToString<unsigned long>' requested here
  5024. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  5025. ^
  5026. In file included from lib/cryptopp/files.cpp:7:
  5027. In file included from lib/cryptopp/files.h:5:
  5028. In file included from lib/cryptopp/filters.h:6:
  5029. In file included from lib/cryptopp/simple.h:10:
  5030. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  5031. [-Wtautological-compare]
  5032. if (a < 0)
  5033. ~ ^ ~
  5034. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  5035. 'CryptoPP::IntToString<unsigned int>' requested here
  5036. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  5037. ^
  5038. In file included from lib/cryptopp/files.cpp:7:
  5039. In file included from lib/cryptopp/files.h:5:
  5040. In file included from lib/cryptopp/filters.h:11:
  5041. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  5042. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  5043. ^
  5044. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  5045. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  5046. ^
  5047. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  5048. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  5049. ^
  5050. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  5051. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  5052. ^
  5053. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  5054. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  5055. ^
  5056. <scratch space>:488:1: note: expanded from here
  5057. cryptopp_assert_26
  5058. ^
  5059. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  5060. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  5061. requested here
  5062. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  5063. ^
  5064. In file included from lib/cryptopp/files.cpp:7:
  5065. In file included from lib/cryptopp/files.h:5:
  5066. In file included from lib/cryptopp/filters.h:11:
  5067. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  5068. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  5069. ^
  5070. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  5071. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  5072. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  5073. ^
  5074. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  5075. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  5076. return AlgorithmParameters()(name, value, throwIfNotUsed);
  5077. ^
  5078. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  5079. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  5080. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  5081. ^
  5082. In file included from lib/cryptopp/files.cpp:7:
  5083. In file included from lib/cryptopp/files.h:5:
  5084. In file included from lib/cryptopp/filters.h:11:
  5085. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  5086. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  5087. ^
  5088. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  5089. 'CryptoPP::AlgorithmParametersTemplate<std::__1::basic_istream<char> *>::MoveInto' requested here
  5090. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  5091. ^
  5092. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  5093. 'CryptoPP::AlgorithmParameters::operator()<std::__1::basic_istream<char> *>' requested here
  5094. return AlgorithmParameters()(name, value, throwIfNotUsed);
  5095. ^
  5096. lib/cryptopp/files.h:27:20: note: in instantiation of function template specialization
  5097. 'CryptoPP::MakeParameters<std::__1::basic_istream<char> *>' requested here
  5098. {StoreInitialize(MakeParameters(Name::InputStreamPointer(), &in));}
  5099. ^
  5100. In file included from lib/cryptopp/files.cpp:7:
  5101. In file included from lib/cryptopp/files.h:5:
  5102. In file included from lib/cryptopp/filters.h:11:
  5103. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  5104. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  5105. ^
  5106. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  5107. 'CryptoPP::AlgorithmParametersTemplate<const char *>::MoveInto' requested here
  5108. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  5109. ^
  5110. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  5111. 'CryptoPP::AlgorithmParameters::operator()<const char *>' requested here
  5112. return AlgorithmParameters()(name, value, throwIfNotUsed);
  5113. ^
  5114. lib/cryptopp/files.h:29:20: note: in instantiation of function template specialization
  5115. 'CryptoPP::MakeParameters<const char *>' requested here
  5116. {StoreInitialize(MakeParameters(Name::InputFileName(), filename));}
  5117. ^
  5118. In file included from lib/cryptopp/files.cpp:7:
  5119. In file included from lib/cryptopp/files.h:5:
  5120. In file included from lib/cryptopp/filters.h:11:
  5121. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  5122. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  5123. ^
  5124. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  5125. 'CryptoPP::AlgorithmParametersTemplate<std::__1::basic_ostream<char> *>::MoveInto' requested here
  5126. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  5127. ^
  5128. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  5129. 'CryptoPP::AlgorithmParameters::operator()<std::__1::basic_ostream<char> *>' requested here
  5130. return AlgorithmParameters()(name, value, throwIfNotUsed);
  5131. ^
  5132. lib/cryptopp/files.h:90:23: note: in instantiation of function template specialization
  5133. 'CryptoPP::MakeParameters<std::__1::basic_ostream<char> *>' requested here
  5134. {IsolatedInitialize(MakeParameters(Name::OutputStreamPointer(), &out));}
  5135. ^
  5136. In file included from lib/cryptopp/files.cpp:7:
  5137. In file included from lib/cryptopp/files.h:5:
  5138. In file included from lib/cryptopp/filters.h:6:
  5139. In file included from lib/cryptopp/simple.h:10:
  5140. lib/cryptopp/misc.h:184:2: warning: unused variable 'cryptopp_assert_184' [-Wunused-variable]
  5141. CRYPTOPP_COMPILE_ASSERT((sizeof(T1)<=sizeof(T2) && T2(-1)>0) || (sizeof(T1)>sizeof(T2) &...
  5142. ^
  5143. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  5144. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  5145. ^
  5146. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  5147. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  5148. ^
  5149. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  5150. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  5151. ^
  5152. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  5153. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  5154. ^
  5155. <scratch space>:421:1: note: expanded from here
  5156. cryptopp_assert_184
  5157. ^
  5158. lib/cryptopp/files.cpp:94:52: note: in instantiation of function template specialization
  5159. 'CryptoPP::UnsignedMin<unsigned long, unsigned long long>' requested here
  5160. m_space = HelpCreatePutSpace(target, channel, 1, UnsignedMin(size_t(0)-1, size), ...
  5161. ^
  5162. In file included from lib/cryptopp/files.cpp:7:
  5163. In file included from lib/cryptopp/files.h:5:
  5164. In file included from lib/cryptopp/filters.h:6:
  5165. In file included from lib/cryptopp/simple.h:10:
  5166. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  5167. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  5168. ^
  5169. 9 warnings generated.
  5170. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/filters.cpp -o build/debug/lib/cryptopp/filters.o
  5171. lib/cryptopp/filters.cpp:173:4: warning: expression result unused [-Wunused-value]
  5172. ...FILTER_OUTPUT_MAYBE_MODIFIABLE(1, m_begin, t = (size_t)SaturatingSubtract(m_rangesToSkip.front().position, m_currentMessageBytes), false, modifiable);
  5173. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5174. lib/cryptopp/fltrimpl.h:65:40: note: expanded from macro 'FILTER_OUTPUT_MAYBE_MODIFIABLE'
  5175. FILTER_OUTPUT2_MAYBE_MODIFIABLE(site, 0, output, length, messageEnd, modifiable)
  5176. ^
  5177. lib/cryptopp/fltrimpl.h:59:2: note: expanded from macro 'FILTER_OUTPUT2_MAYBE_MODIFIABLE'
  5178. statement; \
  5179. ^
  5180. lib/cryptopp/filters.cpp:197:4: warning: expression result unused [-Wunused-value]
  5181. FILTER_OUTPUT_MAYBE_MODIFIABLE(2, m_begin, m_length, messageEnd, modifiable);
  5182. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5183. lib/cryptopp/fltrimpl.h:65:40: note: expanded from macro 'FILTER_OUTPUT_MAYBE_MODIFIABLE'
  5184. FILTER_OUTPUT2_MAYBE_MODIFIABLE(site, 0, output, length, messageEnd, modifiable)
  5185. ^
  5186. lib/cryptopp/fltrimpl.h:59:2: note: expanded from macro 'FILTER_OUTPUT2_MAYBE_MODIFIABLE'
  5187. statement; \
  5188. ^
  5189. lib/cryptopp/filters.cpp:301:18: warning: comparison of unsigned expression < 0 is always false
  5190. [-Wtautological-compare]
  5191. if (m_firstSize < 0 || m_blockSize < 1 || m_lastSize < 0)
  5192. ~~~~~~~~~~~ ^ ~
  5193. lib/cryptopp/filters.cpp:301:55: warning: comparison of unsigned expression < 0 is always false
  5194. [-Wtautological-compare]
  5195. if (m_firstSize < 0 || m_blockSize < 1 || m_lastSize < 0)
  5196. ~~~~~~~~~~ ^ ~
  5197. lib/cryptopp/filters.cpp:310:18: warning: comparison of unsigned expression < 0 is always false
  5198. [-Wtautological-compare]
  5199. if (m_firstSize < 0 || m_blockSize < 1 || m_lastSize < 0)
  5200. ~~~~~~~~~~~ ^ ~
  5201. lib/cryptopp/filters.cpp:310:55: warning: comparison of unsigned expression < 0 is always false
  5202. [-Wtautological-compare]
  5203. if (m_firstSize < 0 || m_blockSize < 1 || m_lastSize < 0)
  5204. ~~~~~~~~~~ ^ ~
  5205. lib/cryptopp/filters.cpp:734:21: warning: expression result unused [-Wunused-value]
  5206. FILTER_OUTPUT3(1, 0, inString, length, 0, m_messagePutChannel);
  5207. ^
  5208. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  5209. statement; \
  5210. ^
  5211. lib/cryptopp/filters.cpp:743:21: warning: expression result unused [-Wunused-value]
  5212. FILTER_OUTPUT3(2, 0, m_space, m_digestSize, messageEnd, m_hashPutChannel);
  5213. ^
  5214. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  5215. statement; \
  5216. ^
  5217. lib/cryptopp/filters.cpp:929:3: warning: expression result unused [-Wunused-value]
  5218. FILTER_OUTPUT(1, inString, length, 0);
  5219. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5220. lib/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
  5221. FILTER_OUTPUT2(site, 0, output, length, messageEnd)
  5222. ^
  5223. lib/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
  5224. FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
  5225. ^
  5226. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  5227. statement; \
  5228. ^
  5229. lib/cryptopp/filters.cpp:934:3: warning: expression result unused [-Wunused-value]
  5230. FILTER_OUTPUT(2, m_buf, m_buf.size(), messageEnd);
  5231. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5232. lib/cryptopp/fltrimpl.h:40:23: note: expanded from macro 'FILTER_OUTPUT'
  5233. FILTER_OUTPUT2(site, 0, output, length, messageEnd)
  5234. ^
  5235. lib/cryptopp/fltrimpl.h:37:23: note: expanded from macro 'FILTER_OUTPUT2'
  5236. FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
  5237. ^
  5238. lib/cryptopp/fltrimpl.h:31:2: note: expanded from macro 'FILTER_OUTPUT3'
  5239. statement; \
  5240. ^
  5241. In file included from lib/cryptopp/filters.cpp:7:
  5242. In file included from lib/cryptopp/filters.h:6:
  5243. In file included from lib/cryptopp/simple.h:10:
  5244. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  5245. [-Wtautological-compare]
  5246. if (a < 0)
  5247. ~ ^ ~
  5248. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  5249. 'CryptoPP::IntToString<unsigned long>' requested here
  5250. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  5251. ^
  5252. In file included from lib/cryptopp/filters.cpp:7:
  5253. In file included from lib/cryptopp/filters.h:6:
  5254. In file included from lib/cryptopp/simple.h:10:
  5255. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  5256. [-Wtautological-compare]
  5257. if (a < 0)
  5258. ~ ^ ~
  5259. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  5260. 'CryptoPP::IntToString<unsigned int>' requested here
  5261. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  5262. ^
  5263. In file included from lib/cryptopp/filters.cpp:7:
  5264. In file included from lib/cryptopp/filters.h:11:
  5265. lib/cryptopp/algparam.h:26:9: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable]
  5266. CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
  5267. ^
  5268. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  5269. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  5270. ^
  5271. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  5272. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  5273. ^
  5274. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  5275. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  5276. ^
  5277. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  5278. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  5279. ^
  5280. <scratch space>:488:1: note: expanded from here
  5281. cryptopp_assert_26
  5282. ^
  5283. lib/cryptopp/filters.h:793:102: note: in instantiation of function template specialization
  5284. 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter<std::__1::basic_string<char> >'
  5285. requested here
  5286. ...{SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
  5287. ^
  5288. In file included from lib/cryptopp/filters.cpp:7:
  5289. In file included from lib/cryptopp/filters.h:11:
  5290. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  5291. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  5292. ^
  5293. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  5294. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::RandomNumberGenerator *>::MoveInto' requested here
  5295. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  5296. ^
  5297. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  5298. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::RandomNumberGenerator *>' requested here
  5299. return AlgorithmParameters()(name, value, throwIfNotUsed);
  5300. ^
  5301. lib/cryptopp/filters.h:805:30: note: in instantiation of function template specialization
  5302. 'CryptoPP::MakeParameters<CryptoPP::RandomNumberGenerator *>' requested here
  5303. {SourceInitialize(pumpAll, MakeParameters("RandomNumberGeneratorPointer", &rng)("...
  5304. ^
  5305. In file included from lib/cryptopp/filters.cpp:7:
  5306. In file included from lib/cryptopp/filters.h:11:
  5307. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  5308. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  5309. ^
  5310. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  5311. 'CryptoPP::AlgorithmParametersTemplate<CryptoPP::BlockPaddingSchemeDef::BlockPaddingScheme>::MoveInto'
  5312. requested here
  5313. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  5314. ^
  5315. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  5316. 'CryptoPP::AlgorithmParameters::operator()<CryptoPP::BlockPaddingSchemeDef::BlockPaddingScheme>'
  5317. requested here
  5318. return AlgorithmParameters()(name, value, throwIfNotUsed);
  5319. ^
  5320. lib/cryptopp/filters.cpp:552:21: note: in instantiation of function template specialization
  5321. 'CryptoPP::MakeParameters<CryptoPP::BlockPaddingSchemeDef::BlockPaddingScheme>' requested here
  5322. IsolatedInitialize(MakeParameters(Name::BlockPaddingScheme(), padding));
  5323. ^
  5324. In file included from lib/cryptopp/filters.cpp:7:
  5325. In file included from lib/cryptopp/filters.h:11:
  5326. lib/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable]
  5327. AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this);
  5328. ^
  5329. lib/cryptopp/algparam.h:354:45: note: in instantiation of member function
  5330. 'CryptoPP::AlgorithmParametersTemplate<unsigned int>::MoveInto' requested here
  5331. member_ptr<AlgorithmParametersBase> p(new AlgorithmParametersTemplate<T>(name, va...
  5332. ^
  5333. lib/cryptopp/algparam.h:388:9: note: in instantiation of function template specialization
  5334. 'CryptoPP::AlgorithmParameters::operator()<unsigned int>' requested here
  5335. return AlgorithmParameters()(name, value, throwIfNotUsed);
  5336. ^
  5337. lib/cryptopp/filters.cpp:754:21: note: in instantiation of function template specialization
  5338. 'CryptoPP::MakeParameters<unsigned int>' requested here
  5339. IsolatedInitialize(MakeParameters(Name::HashVerificationFilterFlags(), flags)(Name::Trunc...
  5340. ^
  5341. In file included from lib/cryptopp/filters.cpp:7:
  5342. In file included from lib/cryptopp/filters.h:6:
  5343. In file included from lib/cryptopp/simple.h:10:
  5344. lib/cryptopp/misc.h:184:2: warning: unused variable 'cryptopp_assert_184' [-Wunused-variable]
  5345. CRYPTOPP_COMPILE_ASSERT((sizeof(T1)<=sizeof(T2) && T2(-1)>0) || (sizeof(T1)>sizeof(T2) &...
  5346. ^
  5347. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  5348. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  5349. ^
  5350. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  5351. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  5352. ^
  5353. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  5354. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  5355. ^
  5356. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  5357. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  5358. ^
  5359. <scratch space>:421:1: note: expanded from here
  5360. cryptopp_assert_184
  5361. ^
  5362. lib/cryptopp/filters.cpp:1067:13: note: in instantiation of function template specialization
  5363. 'CryptoPP::UnsignedMin<unsigned long, unsigned long long>' requested here
  5364. size_t i = UnsignedMin(m_length, m_count+begin);
  5365. ^
  5366. In file included from lib/cryptopp/filters.cpp:7:
  5367. In file included from lib/cryptopp/filters.h:6:
  5368. In file included from lib/cryptopp/simple.h:10:
  5369. lib/cryptopp/misc.h:184:2: warning: unused variable 'cryptopp_assert_184' [-Wunused-variable]
  5370. CRYPTOPP_COMPILE_ASSERT((sizeof(T1)<=sizeof(T2) && T2(-1)>0) || (sizeof(T1)>sizeof(T2) &...
  5371. ^
  5372. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  5373. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  5374. ^
  5375. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  5376. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  5377. ^
  5378. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  5379. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  5380. ^
  5381. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  5382. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  5383. ^
  5384. <scratch space>:421:1: note: expanded from here
  5385. cryptopp_assert_184
  5386. ^
  5387. lib/cryptopp/filters.cpp:1088:18: note: in instantiation of function template specialization
  5388. 'CryptoPP::UnsignedMin<unsigned long long, unsigned long long>' requested here
  5389. transferBytes = UnsignedMin(transferBytes, m_length - m_count);
  5390. ^
  5391. In file included from lib/cryptopp/filters.cpp:7:
  5392. In file included from lib/cryptopp/filters.h:6:
  5393. In file included from lib/cryptopp/simple.h:10:
  5394. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  5395. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  5396. ^
  5397. 19 warnings generated.
  5398. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/fips140.cpp -o build/debug/lib/cryptopp/fips140.o
  5399. In file included from lib/cryptopp/fips140.cpp:7:
  5400. In file included from lib/cryptopp/fips140.h:9:
  5401. In file included from lib/cryptopp/secblock.h:7:
  5402. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  5403. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  5404. ^
  5405. 1 warning generated.
  5406. /usr/bin/g++ -ggdb -g -D_DEBUG -O1 -DLUA_USE_DLOPEN -Wall -c -Isrc -Ilib -Ilib/jsoncpp/include lib/cryptopp/gcm.cpp -o build/debug/lib/cryptopp/gcm.o
  5407. lib/cryptopp/gcm.cpp:337:9: warning: unknown pragma ignored [-Wunknown-pragmas]
  5408. #pragma warning(disable: 4731) // frame pointer register 'ebp' modified by inline assembly code
  5409. ^
  5410. In file included from lib/cryptopp/gcm.cpp:10:
  5411. In file included from lib/cryptopp/gcm.h:4:
  5412. In file included from lib/cryptopp/authenc.h:5:
  5413. In file included from lib/cryptopp/secblock.h:7:
  5414. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  5415. [-Wtautological-compare]
  5416. if (a < 0)
  5417. ~ ^ ~
  5418. lib/cryptopp/simple.h:35:110: note: in instantiation of function template specialization
  5419. 'CryptoPP::IntToString<unsigned long>' requested here
  5420. ...std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) ...
  5421. ^
  5422. In file included from lib/cryptopp/gcm.cpp:10:
  5423. In file included from lib/cryptopp/gcm.h:4:
  5424. In file included from lib/cryptopp/authenc.h:5:
  5425. In file included from lib/cryptopp/secblock.h:7:
  5426. lib/cryptopp/misc.h:414:8: warning: comparison of unsigned expression < 0 is always false
  5427. [-Wtautological-compare]
  5428. if (a < 0)
  5429. ~ ^ ~
  5430. lib/cryptopp/simple.h:42:113: note: in instantiation of function template specialization
  5431. 'CryptoPP::IntToString<unsigned int>' requested here
  5432. ...std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rou...
  5433. ^
  5434. In file included from lib/cryptopp/gcm.cpp:10:
  5435. In file included from lib/cryptopp/gcm.h:4:
  5436. In file included from lib/cryptopp/authenc.h:5:
  5437. In file included from lib/cryptopp/secblock.h:7:
  5438. lib/cryptopp/misc.h:1165:3: warning: unused variable 'cryptopp_assert_1165' [-Wunused-variable]
  5439. CRYPTOPP_COMPILE_ASSERT(sizeof(U) >= sizeof(T));
  5440. ^
  5441. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  5442. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  5443. ^
  5444. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  5445. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  5446. ^
  5447. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  5448. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  5449. ^
  5450. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  5451. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  5452. ^
  5453. <scratch space>:459:1: note: expanded from here
  5454. cryptopp_assert_1165
  5455. ^
  5456. lib/cryptopp/gcm.cpp:189:21: note: in instantiation of function template specialization
  5457. 'CryptoPP::GetBlock<unsigned long long, CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>,
  5458. false>::operator()<unsigned long long>' requested here
  5459. Block::Get(hashKey)(V0)(V1);
  5460. ^
  5461. In file included from lib/cryptopp/gcm.cpp:10:
  5462. In file included from lib/cryptopp/gcm.h:4:
  5463. In file included from lib/cryptopp/authenc.h:5:
  5464. In file included from lib/cryptopp/secblock.h:7:
  5465. lib/cryptopp/misc.h:1165:3: warning: unused variable 'cryptopp_assert_1165' [-Wunused-variable]
  5466. CRYPTOPP_COMPILE_ASSERT(sizeof(U) >= sizeof(T));
  5467. ^
  5468. lib/cryptopp/misc.h:54:44: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT'
  5469. #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__)
  5470. ^
  5471. lib/cryptopp/misc.h:58:97: note: expanded from macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE'
  5472. #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_...
  5473. ^
  5474. lib/cryptopp/misc.h:60:36: note: expanded from macro 'CRYPTOPP_ASSERT_JOIN'
  5475. #define CRYPTOPP_ASSERT_JOIN(X, Y) CRYPTOPP_DO_ASSERT_JOIN(X, Y)
  5476. ^
  5477. lib/cryptopp/misc.h:61:39: note: expanded from macro 'CRYPTOPP_DO_ASSERT_JOIN'
  5478. #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
  5479. ^
  5480. <scratch space>:459:1: note: expanded from here
  5481. cryptopp_assert_1165
  5482. ^
  5483. lib/cryptopp/gcm.cpp:436:20: note: in instantiation of function template specialization
  5484. 'CryptoPP::GetBlock<unsigned long long, CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>,
  5485. false>::operator()<unsigned long long>' requested here
  5486. Block::Get(data)(y0)(y1);
  5487. ^
  5488. In file included from lib/cryptopp/gcm.cpp:10:
  5489. In file included from lib/cryptopp/gcm.h:4:
  5490. In file included from lib/cryptopp/authenc.h:5:
  5491. In file included from lib/cryptopp/secblock.h:7:
  5492. lib/cryptopp/misc.h:548:20: warning: unused function 'StringNarrow' [-Wunused-function]
  5493. static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
  5494. ^
  5495. lib/cryptopp/gcm.cpp:746:3: error: Unexpected token!
  5496. ASL(1)
  5497. ^
  5498. lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
  5499. #define ASL(x) GNU_ASL(x)
  5500. ^
  5501. lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
  5502. #define GNU_ASL(x) "\n" #x ":"
  5503. ^
  5504. <scratch space>:166:2: note: expanded from here
  5505. "1"
  5506. ^
  5507. <inline asm>:2:1435: note: instantiated into assembly here
  5508. ...rdi;pxor xmm0, [rsi + 32 + (3*4+3)*256*16 + rdi*8];add rcx, 16;sub rdx, 1;jnz 1b;movdqa [rsi], xm...
  5509. ^
  5510. lib/cryptopp/gcm.cpp:746:3: error: invalid operand for instruction
  5511. ASL(1)
  5512. ^
  5513. lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
  5514. #define ASL(x) GNU_ASL(x)
  5515. ^
  5516. lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
  5517. #define GNU_ASL(x) "\n" #x ":"
  5518. ^
  5519. <scratch space>:166:2: note: expanded from here
  5520. "1"
  5521. ^
  5522. <inline asm>:2:1429: note: instantiated into assembly here
  5523. ...rdi, rdi;pxor xmm0, [rsi + 32 + (3*4+3)*256*16 + rdi*8];add rcx, 16;sub rdx, 1;jnz 1b;movdqa [rsi...
  5524. ^
  5525. lib/cryptopp/gcm.cpp:746:3: error: invalid instruction mnemonic 'prefix'
  5526. ASL(1)
  5527. ^
  5528. lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
  5529. #define ASL(x) GNU_ASL(x)
  5530. ^
  5531. lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
  5532. #define GNU_ASL(x) "\n" #x ":"
  5533. ^
  5534. <scratch space>:166:2: note: expanded from here
  5535. "1"
  5536. ^
  5537. <inline asm>:2:1467: note: instantiated into assembly here
  5538. ...32 + (3*4+3)*256*16 + rdi*8];add rcx, 16;sub rdx, 1;jnz 1b;movdqa [rsi], xmm0;.att_syntax prefix;
  5539. ^~~~~~~
  5540. lib/cryptopp/gcm.cpp:607:3: error: invalid operand for instruction
  5541. ASL(0)
  5542. ^
  5543. lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
  5544. #define ASL(x) GNU_ASL(x)
  5545. ^
  5546. lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
  5547. #define GNU_ASL(x) "\n" #x ":"
  5548. ^
  5549. <scratch space>:281:2: note: expanded from here
  5550. "0"
  5551. ^
  5552. <inline asm>:2:2351: note: instantiated into assembly here
  5553. ...1;pxor xmm2, xmm3;movdqa xmm1, xmm2;pslldq xmm2, 1;pxor xmm5, xmm2;psrldq xmm0, 15;movd rdi, xmm0...
  5554. ^
  5555. lib/cryptopp/gcm.cpp:607:3: error: invalid operand for instruction
  5556. ASL(0)
  5557. ^
  5558. lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
  5559. #define ASL(x) GNU_ASL(x)
  5560. ^
  5561. lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
  5562. #define GNU_ASL(x) "\n" #x ":"
  5563. ^
  5564. <scratch space>:281:2: note: expanded from here
  5565. "0"
  5566. ^
  5567. <inline asm>:2:2476: note: instantiated into assembly here
  5568. ...rdi*2];shl eax, 8;movdqa xmm0, xmm5;pslldq xmm5, 1;pxor xmm4, xmm5;psrldq xmm1, 15;movd rdi, xmm1...
  5569. ^
  5570. lib/cryptopp/gcm.cpp:607:3: error: invalid operand for instruction
  5571. ASL(0)
  5572. ^
  5573. lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
  5574. #define ASL(x) GNU_ASL(x)
  5575. ^
  5576. lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
  5577. #define GNU_ASL(x) "\n" #x ":"
  5578. ^
  5579. <scratch space>:281:2: note: expanded from here
  5580. "0"
  5581. ^
  5582. <inline asm>:2:2549: note: instantiated into assembly here
  5583. ...15;movd rdi, xmm1;xor ax, WORD PTR [r10 + rdi*2];shl eax, 8;psrldq xmm0, 15;movd rdi, xmm0;xor ax...
  5584. ^
  5585. lib/cryptopp/gcm.cpp:607:3: error: Unexpected token!
  5586. ASL(0)
  5587. ^
  5588. lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
  5589. #define ASL(x) GNU_ASL(x)
  5590. ^
  5591. lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
  5592. #define GNU_ASL(x) "\n" #x ":"
  5593. ^
  5594. <scratch space>:281:2: note: expanded from here
  5595. "0"
  5596. ^
  5597. <inline asm>:2:2655: note: instantiated into assembly here
  5598. ...PTR [r10 + rdi*2];movd xmm0, eax;pxor xmm0, xmm4;add rcx, 16;sub rdx, 1;jnz 0b;movdqa [rsi], xmm0...
  5599. ^
  5600. lib/cryptopp/gcm.cpp:607:3: error: invalid operand for instruction
  5601. ASL(0)
  5602. ^
  5603. lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
  5604. #define ASL(x) GNU_ASL(x)
  5605. ^
  5606. lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
  5607. #define GNU_ASL(x) "\n" #x ":"
  5608. ^
  5609. <scratch space>:281:2: note: expanded from here
  5610. "0"
  5611. ^
  5612. <inline asm>:2:2649: note: instantiated into assembly here
  5613. ...ax, WORD PTR [r10 + rdi*2];movd xmm0, eax;pxor xmm0, xmm4;add rcx, 16;sub rdx, 1;jnz 0b;movdqa [r...
  5614. ^
  5615. lib/cryptopp/gcm.cpp:607:3: error: invalid instruction mnemonic 'prefix'
  5616. ASL(0)
  5617. ^
  5618. lib/cryptopp/cpu.h:224:17: note: expanded from macro 'ASL'
  5619. #define ASL(x) GNU_ASL(x)
  5620. ^
  5621. lib/cryptopp/cpu.h:218:26: note: expanded from macro 'GNU_ASL'
  5622. #define GNU_ASL(x) "\n" #x ":"
  5623. ^
  5624. <scratch space>:281:2: note: expanded from here
  5625. "0"
  5626. ^
  5627. <inline asm>:2:2687: note: instantiated into assembly here
  5628. ...xmm0, eax;pxor xmm0, xmm4;add rcx, 16;sub rdx, 1;jnz 0b;movdqa [rsi], xmm0;.att_syntax prefix;
  5629. ^~~~~~~
  5630. 6 warnings and 9 errors generated.
  5631. make: *** [build/debug/lib/cryptopp/gcm.o] Error 1
Add Comment
Please, Sign In to add comment