Advertisement
0lexandr

"Ідеальний код" чомусь має тону варнінгів...

Jun 9th, 2021
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.99 KB | None | 0 0
  1. g++ HArray_delValueByKey.cpp HArray_getValueByKey.cpp HArray_getKeysAndValuesByRange.cpp HArray_hasPartKey.cpp HArray_insert.cpp HArray_scanKeysAndValues.cpp HArray_rebuild.cpp HArray_resizeHeader.cpp HArray_shrink.cpp HArray_test.cpp Main.cpp -o HArray
  2. In file included from HArray_delValueByKey.cpp:20:
  3. HArray.h: In member function ‘void HArray::printMemory()’:
  4. HArray.h:656:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  5. 656 | printf("Header size: %d\n", getHeaderSize());
  6. | ~^ ~~~~~~~~~~~~~~~
  7. | | |
  8. | int ulong64 {aka long unsigned int}
  9. | %ld
  10. HArray.h:657:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  11. 657 | printf("Content size: %d\n", getContentSize());
  12. | ~^ ~~~~~~~~~~~~~~~~
  13. | | |
  14. | int ulong64 {aka long unsigned int}
  15. | %ld
  16. HArray.h:658:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  17. 658 | printf("Var size: %d\n", getVarSize());
  18. | ~^ ~~~~~~~~~~~~
  19. | | |
  20. | int ulong64 {aka long unsigned int}
  21. | %ld
  22. HArray.h:659:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  23. 659 | printf("Branch size: %d\n", getBranchSize());
  24. | ~^ ~~~~~~~~~~~~~~~
  25. | | |
  26. | int ulong64 {aka long unsigned int}
  27. | %ld
  28. HArray.h:660:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  29. 660 | printf("Block size: %d\n", getBlockSize());
  30. | ~^ ~~~~~~~~~~~~~~
  31. | | |
  32. | int ulong64 {aka long unsigned int}
  33. | %ld
  34. HArray.h:661:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  35. 661 | printf("Total size: %d\n", getTotalMemory());
  36. | ~^ ~~~~~~~~~~~~~~~~
  37. | | |
  38. | int ulong64 {aka long unsigned int}
  39. | %ld
  40. In file included from HArray_getValueByKey.cpp:20:
  41. HArray.h: In member function ‘void HArray::printMemory()’:
  42. HArray.h:656:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  43. 656 | printf("Header size: %d\n", getHeaderSize());
  44. | ~^ ~~~~~~~~~~~~~~~
  45. | | |
  46. | int ulong64 {aka long unsigned int}
  47. | %ld
  48. HArray.h:657:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  49. 657 | printf("Content size: %d\n", getContentSize());
  50. | ~^ ~~~~~~~~~~~~~~~~
  51. | | |
  52. | int ulong64 {aka long unsigned int}
  53. | %ld
  54. HArray.h:658:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  55. 658 | printf("Var size: %d\n", getVarSize());
  56. | ~^ ~~~~~~~~~~~~
  57. | | |
  58. | int ulong64 {aka long unsigned int}
  59. | %ld
  60. HArray.h:659:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  61. 659 | printf("Branch size: %d\n", getBranchSize());
  62. | ~^ ~~~~~~~~~~~~~~~
  63. | | |
  64. | int ulong64 {aka long unsigned int}
  65. | %ld
  66. HArray.h:660:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  67. 660 | printf("Block size: %d\n", getBlockSize());
  68. | ~^ ~~~~~~~~~~~~~~
  69. | | |
  70. | int ulong64 {aka long unsigned int}
  71. | %ld
  72. HArray.h:661:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  73. 661 | printf("Total size: %d\n", getTotalMemory());
  74. | ~^ ~~~~~~~~~~~~~~~~
  75. | | |
  76. | int ulong64 {aka long unsigned int}
  77. | %ld
  78. In file included from HArray_getKeysAndValuesByRange.cpp:20:
  79. HArray.h: In member function ‘void HArray::printMemory()’:
  80. HArray.h:656:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  81. 656 | printf("Header size: %d\n", getHeaderSize());
  82. | ~^ ~~~~~~~~~~~~~~~
  83. | | |
  84. | int ulong64 {aka long unsigned int}
  85. | %ld
  86. HArray.h:657:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  87. 657 | printf("Content size: %d\n", getContentSize());
  88. | ~^ ~~~~~~~~~~~~~~~~
  89. | | |
  90. | int ulong64 {aka long unsigned int}
  91. | %ld
  92. HArray.h:658:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  93. 658 | printf("Var size: %d\n", getVarSize());
  94. | ~^ ~~~~~~~~~~~~
  95. | | |
  96. | int ulong64 {aka long unsigned int}
  97. | %ld
  98. HArray.h:659:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  99. 659 | printf("Branch size: %d\n", getBranchSize());
  100. | ~^ ~~~~~~~~~~~~~~~
  101. | | |
  102. | int ulong64 {aka long unsigned int}
  103. | %ld
  104. HArray.h:660:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  105. 660 | printf("Block size: %d\n", getBlockSize());
  106. | ~^ ~~~~~~~~~~~~~~
  107. | | |
  108. | int ulong64 {aka long unsigned int}
  109. | %ld
  110. HArray.h:661:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  111. 661 | printf("Total size: %d\n", getTotalMemory());
  112. | ~^ ~~~~~~~~~~~~~~~~
  113. | | |
  114. | int ulong64 {aka long unsigned int}
  115. | %ld
  116. In file included from HArray_hasPartKey.cpp:20:
  117. HArray.h: In member function ‘void HArray::printMemory()’:
  118. HArray.h:656:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  119. 656 | printf("Header size: %d\n", getHeaderSize());
  120. | ~^ ~~~~~~~~~~~~~~~
  121. | | |
  122. | int ulong64 {aka long unsigned int}
  123. | %ld
  124. HArray.h:657:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  125. 657 | printf("Content size: %d\n", getContentSize());
  126. | ~^ ~~~~~~~~~~~~~~~~
  127. | | |
  128. | int ulong64 {aka long unsigned int}
  129. | %ld
  130. HArray.h:658:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  131. 658 | printf("Var size: %d\n", getVarSize());
  132. | ~^ ~~~~~~~~~~~~
  133. | | |
  134. | int ulong64 {aka long unsigned int}
  135. | %ld
  136. HArray.h:659:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  137. 659 | printf("Branch size: %d\n", getBranchSize());
  138. | ~^ ~~~~~~~~~~~~~~~
  139. | | |
  140. | int ulong64 {aka long unsigned int}
  141. | %ld
  142. HArray.h:660:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  143. 660 | printf("Block size: %d\n", getBlockSize());
  144. | ~^ ~~~~~~~~~~~~~~
  145. | | |
  146. | int ulong64 {aka long unsigned int}
  147. | %ld
  148. HArray.h:661:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  149. 661 | printf("Total size: %d\n", getTotalMemory());
  150. | ~^ ~~~~~~~~~~~~~~~~
  151. | | |
  152. | int ulong64 {aka long unsigned int}
  153. | %ld
  154. In file included from HArray_insert.cpp:21:
  155. HArray.h: In member function ‘void HArray::printMemory()’:
  156. HArray.h:656:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  157. 656 | printf("Header size: %d\n", getHeaderSize());
  158. | ~^ ~~~~~~~~~~~~~~~
  159. | | |
  160. | int ulong64 {aka long unsigned int}
  161. | %ld
  162. HArray.h:657:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  163. 657 | printf("Content size: %d\n", getContentSize());
  164. | ~^ ~~~~~~~~~~~~~~~~
  165. | | |
  166. | int ulong64 {aka long unsigned int}
  167. | %ld
  168. HArray.h:658:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  169. 658 | printf("Var size: %d\n", getVarSize());
  170. | ~^ ~~~~~~~~~~~~
  171. | | |
  172. | int ulong64 {aka long unsigned int}
  173. | %ld
  174. HArray.h:659:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  175. 659 | printf("Branch size: %d\n", getBranchSize());
  176. | ~^ ~~~~~~~~~~~~~~~
  177. | | |
  178. | int ulong64 {aka long unsigned int}
  179. | %ld
  180. HArray.h:660:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  181. 660 | printf("Block size: %d\n", getBlockSize());
  182. | ~^ ~~~~~~~~~~~~~~
  183. | | |
  184. | int ulong64 {aka long unsigned int}
  185. | %ld
  186. HArray.h:661:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  187. 661 | printf("Total size: %d\n", getTotalMemory());
  188. | ~^ ~~~~~~~~~~~~~~~~
  189. | | |
  190. | int ulong64 {aka long unsigned int}
  191. | %ld
  192. In file included from HArray_scanKeysAndValues.cpp:20:
  193. HArray.h: In member function ‘void HArray::printMemory()’:
  194. HArray.h:656:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  195. 656 | printf("Header size: %d\n", getHeaderSize());
  196. | ~^ ~~~~~~~~~~~~~~~
  197. | | |
  198. | int ulong64 {aka long unsigned int}
  199. | %ld
  200. HArray.h:657:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  201. 657 | printf("Content size: %d\n", getContentSize());
  202. | ~^ ~~~~~~~~~~~~~~~~
  203. | | |
  204. | int ulong64 {aka long unsigned int}
  205. | %ld
  206. HArray.h:658:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  207. 658 | printf("Var size: %d\n", getVarSize());
  208. | ~^ ~~~~~~~~~~~~
  209. | | |
  210. | int ulong64 {aka long unsigned int}
  211. | %ld
  212. HArray.h:659:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  213. 659 | printf("Branch size: %d\n", getBranchSize());
  214. | ~^ ~~~~~~~~~~~~~~~
  215. | | |
  216. | int ulong64 {aka long unsigned int}
  217. | %ld
  218. HArray.h:660:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  219. 660 | printf("Block size: %d\n", getBlockSize());
  220. | ~^ ~~~~~~~~~~~~~~
  221. | | |
  222. | int ulong64 {aka long unsigned int}
  223. | %ld
  224. HArray.h:661:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  225. 661 | printf("Total size: %d\n", getTotalMemory());
  226. | ~^ ~~~~~~~~~~~~~~~~
  227. | | |
  228. | int ulong64 {aka long unsigned int}
  229. | %ld
  230. In file included from HArray_rebuild.cpp:20:
  231. HArray.h: In member function ‘void HArray::printMemory()’:
  232. HArray.h:656:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  233. 656 | printf("Header size: %d\n", getHeaderSize());
  234. | ~^ ~~~~~~~~~~~~~~~
  235. | | |
  236. | int ulong64 {aka long unsigned int}
  237. | %ld
  238. HArray.h:657:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  239. 657 | printf("Content size: %d\n", getContentSize());
  240. | ~^ ~~~~~~~~~~~~~~~~
  241. | | |
  242. | int ulong64 {aka long unsigned int}
  243. | %ld
  244. HArray.h:658:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  245. 658 | printf("Var size: %d\n", getVarSize());
  246. | ~^ ~~~~~~~~~~~~
  247. | | |
  248. | int ulong64 {aka long unsigned int}
  249. | %ld
  250. HArray.h:659:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  251. 659 | printf("Branch size: %d\n", getBranchSize());
  252. | ~^ ~~~~~~~~~~~~~~~
  253. | | |
  254. | int ulong64 {aka long unsigned int}
  255. | %ld
  256. HArray.h:660:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  257. 660 | printf("Block size: %d\n", getBlockSize());
  258. | ~^ ~~~~~~~~~~~~~~
  259. | | |
  260. | int ulong64 {aka long unsigned int}
  261. | %ld
  262. HArray.h:661:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  263. 661 | printf("Total size: %d\n", getTotalMemory());
  264. | ~^ ~~~~~~~~~~~~~~~~
  265. | | |
  266. | int ulong64 {aka long unsigned int}
  267. | %ld
  268. In file included from HArray_resizeHeader.cpp:21:
  269. HArray.h: In member function ‘void HArray::printMemory()’:
  270. HArray.h:656:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  271. 656 | printf("Header size: %d\n", getHeaderSize());
  272. | ~^ ~~~~~~~~~~~~~~~
  273. | | |
  274. | int ulong64 {aka long unsigned int}
  275. | %ld
  276. HArray.h:657:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  277. 657 | printf("Content size: %d\n", getContentSize());
  278. | ~^ ~~~~~~~~~~~~~~~~
  279. | | |
  280. | int ulong64 {aka long unsigned int}
  281. | %ld
  282. HArray.h:658:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  283. 658 | printf("Var size: %d\n", getVarSize());
  284. | ~^ ~~~~~~~~~~~~
  285. | | |
  286. | int ulong64 {aka long unsigned int}
  287. | %ld
  288. HArray.h:659:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  289. 659 | printf("Branch size: %d\n", getBranchSize());
  290. | ~^ ~~~~~~~~~~~~~~~
  291. | | |
  292. | int ulong64 {aka long unsigned int}
  293. | %ld
  294. HArray.h:660:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  295. 660 | printf("Block size: %d\n", getBlockSize());
  296. | ~^ ~~~~~~~~~~~~~~
  297. | | |
  298. | int ulong64 {aka long unsigned int}
  299. | %ld
  300. HArray.h:661:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  301. 661 | printf("Total size: %d\n", getTotalMemory());
  302. | ~^ ~~~~~~~~~~~~~~~~
  303. | | |
  304. | int ulong64 {aka long unsigned int}
  305. | %ld
  306. In file included from HArray_shrink.cpp:21:
  307. HArray.h: In member function ‘void HArray::printMemory()’:
  308. HArray.h:656:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  309. 656 | printf("Header size: %d\n", getHeaderSize());
  310. | ~^ ~~~~~~~~~~~~~~~
  311. | | |
  312. | int ulong64 {aka long unsigned int}
  313. | %ld
  314. HArray.h:657:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  315. 657 | printf("Content size: %d\n", getContentSize());
  316. | ~^ ~~~~~~~~~~~~~~~~
  317. | | |
  318. | int ulong64 {aka long unsigned int}
  319. | %ld
  320. HArray.h:658:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  321. 658 | printf("Var size: %d\n", getVarSize());
  322. | ~^ ~~~~~~~~~~~~
  323. | | |
  324. | int ulong64 {aka long unsigned int}
  325. | %ld
  326. HArray.h:659:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  327. 659 | printf("Branch size: %d\n", getBranchSize());
  328. | ~^ ~~~~~~~~~~~~~~~
  329. | | |
  330. | int ulong64 {aka long unsigned int}
  331. | %ld
  332. HArray.h:660:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  333. 660 | printf("Block size: %d\n", getBlockSize());
  334. | ~^ ~~~~~~~~~~~~~~
  335. | | |
  336. | int ulong64 {aka long unsigned int}
  337. | %ld
  338. HArray.h:661:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  339. 661 | printf("Total size: %d\n", getTotalMemory());
  340. | ~^ ~~~~~~~~~~~~~~~~
  341. | | |
  342. | int ulong64 {aka long unsigned int}
  343. | %ld
  344. In file included from HArray_test.cpp:21:
  345. HArray.h: In member function ‘void HArray::printMemory()’:
  346. HArray.h:656:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  347. 656 | printf("Header size: %d\n", getHeaderSize());
  348. | ~^ ~~~~~~~~~~~~~~~
  349. | | |
  350. | int ulong64 {aka long unsigned int}
  351. | %ld
  352. HArray.h:657:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  353. 657 | printf("Content size: %d\n", getContentSize());
  354. | ~^ ~~~~~~~~~~~~~~~~
  355. | | |
  356. | int ulong64 {aka long unsigned int}
  357. | %ld
  358. HArray.h:658:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  359. 658 | printf("Var size: %d\n", getVarSize());
  360. | ~^ ~~~~~~~~~~~~
  361. | | |
  362. | int ulong64 {aka long unsigned int}
  363. | %ld
  364. HArray.h:659:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  365. 659 | printf("Branch size: %d\n", getBranchSize());
  366. | ~^ ~~~~~~~~~~~~~~~
  367. | | |
  368. | int ulong64 {aka long unsigned int}
  369. | %ld
  370. HArray.h:660:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  371. 660 | printf("Block size: %d\n", getBlockSize());
  372. | ~^ ~~~~~~~~~~~~~~
  373. | | |
  374. | int ulong64 {aka long unsigned int}
  375. | %ld
  376. HArray.h:661:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  377. 661 | printf("Total size: %d\n", getTotalMemory());
  378. | ~^ ~~~~~~~~~~~~~~~~
  379. | | |
  380. | int ulong64 {aka long unsigned int}
  381. | %ld
  382. In file included from Main.cpp:27:
  383. HArray.h: In member function ‘void HArray::printMemory()’:
  384. HArray.h:656:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  385. 656 | printf("Header size: %d\n", getHeaderSize());
  386. | ~^ ~~~~~~~~~~~~~~~
  387. | | |
  388. | int ulong64 {aka long unsigned int}
  389. | %ld
  390. HArray.h:657:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  391. 657 | printf("Content size: %d\n", getContentSize());
  392. | ~^ ~~~~~~~~~~~~~~~~
  393. | | |
  394. | int ulong64 {aka long unsigned int}
  395. | %ld
  396. HArray.h:658:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  397. 658 | printf("Var size: %d\n", getVarSize());
  398. | ~^ ~~~~~~~~~~~~
  399. | | |
  400. | int ulong64 {aka long unsigned int}
  401. | %ld
  402. HArray.h:659:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  403. 659 | printf("Branch size: %d\n", getBranchSize());
  404. | ~^ ~~~~~~~~~~~~~~~
  405. | | |
  406. | int ulong64 {aka long unsigned int}
  407. | %ld
  408. HArray.h:660:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  409. 660 | printf("Block size: %d\n", getBlockSize());
  410. | ~^ ~~~~~~~~~~~~~~
  411. | | |
  412. | int ulong64 {aka long unsigned int}
  413. | %ld
  414. HArray.h:661:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ulong64’ {aka ‘long unsigned int’} [-Wformat=]
  415. 661 | printf("Total size: %d\n", getTotalMemory());
  416. | ~^ ~~~~~~~~~~~~~~~~
  417. | | |
  418. | int ulong64 {aka long unsigned int}
  419. | %ld
  420. Main.cpp: In function ‘void testHArrayInt(uint32*, uint32)’:
  421. Main.cpp:92:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  422. 92 | printf("Insert: %d msec, ", (finish - start));
  423. | ~^ ~~~~~~~~~~~~~~~~
  424. | | |
  425. | int clock_t {aka long int}
  426. | %ld
  427. Main.cpp:112:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  428. 112 | printf("Search: %d msec.\n", (finish - start));
  429. | ~^ ~~~~~~~~~~~~~~~~
  430. | | |
  431. | int clock_t {aka long int}
  432. | %ld
  433. Main.cpp: In function ‘void testStdMapInt(uint32*, uint32)’:
  434. Main.cpp:146:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  435. 146 | printf("Insert: %d msec, ", (finish - start));
  436. | ~^ ~~~~~~~~~~~~~~~~
  437. | | |
  438. | int clock_t {aka long int}
  439. | %ld
  440. Main.cpp:164:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  441. 164 | printf("Search: %d msec.\n", (finish - start));
  442. | ~^ ~~~~~~~~~~~~~~~~
  443. | | |
  444. | int clock_t {aka long int}
  445. | %ld
  446. Main.cpp: In function ‘void testStdUnorderedMapInt(uint32*, uint32)’:
  447. Main.cpp:243:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  448. 243 | printf("Insert: %d msec, ", (finish - start));
  449. | ~^ ~~~~~~~~~~~~~~~~
  450. | | |
  451. | int clock_t {aka long int}
  452. | %ld
  453. Main.cpp:261:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  454. 261 | printf("Search: %d msec.\n", (finish - start));
  455. | ~^ ~~~~~~~~~~~~~~~~
  456. | | |
  457. | int clock_t {aka long int}
  458. | %ld
  459. Main.cpp: In function ‘void HArrayInt_VS_StdMap_IntKey(uint32, uint32, uint32)’:
  460. Main.cpp:308:44: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  461. 308 | printf("Insert/Search %u SEQUENCE keys (%u bytes each) ...\n", countKeys, sizeof(uint32));
  462. | ~^ ~~~~~~~~~~~~~~
  463. | | |
  464. | unsigned int long unsigned int
  465. | %lu
  466. Main.cpp:324:42: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  467. 324 | printf("Insert/Search %u RANDOM keys (%u bytes each) ...\n", countKeys, sizeof(uint32));
  468. | ~^ ~~~~~~~~~~~~~~
  469. | | |
  470. | unsigned int long unsigned int
  471. | %lu
  472. Main.cpp:340:42: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  473. 340 | printf("Insert/Search %u PERIOD keys (%u bytes each) ...\n", countKeys, sizeof(uint32));
  474. | ~^ ~~~~~~~~~~~~~~
  475. | | |
  476. | unsigned int long unsigned int
  477. | %lu
  478. Main.cpp: In function ‘void testHArrayBin(BinKey*, uint32, bool)’:
  479. Main.cpp:437:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  480. 437 | printf("Insert: %d msec, ", (finish - start));
  481. | ~^ ~~~~~~~~~~~~~~~~
  482. | | |
  483. | int clock_t {aka long int}
  484. | %ld
  485. Main.cpp:460:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  486. 460 | printf("Search: %d msec, ", (finish - start));
  487. | ~^ ~~~~~~~~~~~~~~~~
  488. | | |
  489. | int clock_t {aka long int}
  490. | %ld
  491. Main.cpp:536:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  492. 536 | printf("Delete: %d msec., ", (finish - start));
  493. | ~^ ~~~~~~~~~~~~~~~~
  494. | | |
  495. | int clock_t {aka long int}
  496. | %ld
  497. Main.cpp: In function ‘void testStdMapBin(BinKey*, uint32, bool)’:
  498. Main.cpp:581:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  499. 581 | printf("Insert: %d msec, ", (finish - start));
  500. | ~^ ~~~~~~~~~~~~~~~~
  501. | | |
  502. | int clock_t {aka long int}
  503. | %ld
  504. Main.cpp:604:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  505. 604 | printf("Search: %d msec.\n", (finish - start));
  506. | ~^ ~~~~~~~~~~~~~~~~
  507. | | |
  508. | int clock_t {aka long int}
  509. | %ld
  510. Main.cpp: In function ‘void testStdUnorderedMapBin(BinKey*, uint32, bool)’:
  511. Main.cpp:702:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  512. 702 | printf("Insert: %d msec, ", (finish - start));
  513. | ~^ ~~~~~~~~~~~~~~~~
  514. | | |
  515. | int clock_t {aka long int}
  516. | %ld
  517. Main.cpp:725:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  518. 725 | printf("Search: %d msec.\n", (finish - start));
  519. | ~^ ~~~~~~~~~~~~~~~~
  520. | | |
  521. | int clock_t {aka long int}
  522. | %ld
  523. Main.cpp: In function ‘void HArray_VS_StdMap_BinKey(uint32, uint32, uint32, bool)’:
  524. Main.cpp:782:51: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  525. 782 | printf("Insert/Search/Delete %u SEQUENCE keys (%u bytes each) ...\n", countKeys, sizeof(BinKey));
  526. | ~^ ~~~~~~~~~~~~~~
  527. | | |
  528. | unsigned int long unsigned int
  529. | %lu
  530. Main.cpp:798:49: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  531. 798 | printf("Insert/Search/Delete %u RANDOM keys (%u bytes each) ...\n", countKeys, sizeof(BinKey));
  532. | ~^ ~~~~~~~~~~~~~~
  533. | | |
  534. | unsigned int long unsigned int
  535. | %lu
  536. Main.cpp:814:49: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  537. 814 | printf("Insert/Search/Delete %u PERIOD keys (%u bytes each) ...\n", countKeys, sizeof(BinKey));
  538. | ~^ ~~~~~~~~~~~~~~
  539. | | |
  540. | unsigned int long unsigned int
  541. | %lu
  542. Main.cpp: In function ‘void testHArrayStr(std::string*, uint32)’:
  543. Main.cpp:874:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  544. 874 | printf("Insert: %d msec, ", (finish - start));
  545. | ~^ ~~~~~~~~~~~~~~~~
  546. | | |
  547. | int clock_t {aka long int}
  548. | %ld
  549. Main.cpp:894:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  550. 894 | printf("Search: %d msec, ", (finish - start));
  551. | ~^ ~~~~~~~~~~~~~~~~
  552. | | |
  553. | int clock_t {aka long int}
  554. | %ld
  555. Main.cpp:964:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  556. 964 | printf("Delete: %d msec, ", (finish - start));
  557. | ~^ ~~~~~~~~~~~~~~~~
  558. | | |
  559. | int clock_t {aka long int}
  560. | %ld
  561. Main.cpp: In function ‘void testHArrayStrVar(std::string*, uint32)’:
  562. Main.cpp:1008:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  563. 1008 | printf("Insert: %d msec, ", (finish - start));
  564. | ~^ ~~~~~~~~~~~~~~~~
  565. | | |
  566. | int clock_t {aka long int}
  567. | %ld
  568. Main.cpp:1028:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  569. 1028 | printf("Search: %d msec, ", (finish - start));
  570. | ~^ ~~~~~~~~~~~~~~~~
  571. | | |
  572. | int clock_t {aka long int}
  573. | %ld
  574. Main.cpp:1149:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  575. 1149 | printf("Delete: %d msec., ", (finish - start));
  576. | ~^ ~~~~~~~~~~~~~~~~
  577. | | |
  578. | int clock_t {aka long int}
  579. | %ld
  580. Main.cpp: In function ‘void testStdMapStr(std::string*, uint32)’:
  581. Main.cpp:1190:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  582. 1190 | printf("Insert: %d msec, ", (finish - start));
  583. | ~^ ~~~~~~~~~~~~~~~~
  584. | | |
  585. | int clock_t {aka long int}
  586. | %ld
  587. Main.cpp:1209:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  588. 1209 | printf("Search: %d msec.\n", (finish - start));
  589. | ~^ ~~~~~~~~~~~~~~~~
  590. | | |
  591. | int clock_t {aka long int}
  592. | %ld
  593. Main.cpp: In function ‘void testStdUnorderedMapStr(std::string*, uint32)’:
  594. Main.cpp:1294:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  595. 1294 | printf("Insert: %d msec, ", (finish - start));
  596. | ~^ ~~~~~~~~~~~~~~~~
  597. | | |
  598. | int clock_t {aka long int}
  599. | %ld
  600. Main.cpp:1314:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘clock_t’ {aka ‘long int’} [-Wformat=]
  601. 1314 | printf("Search: %d msec.\n", (finish - start));
  602. | ~^ ~~~~~~~~~~~~~~~~
  603. | | |
  604. | int clock_t {aka long int}
  605. | %ld
  606.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement