Posted to tcl by avl42 at Sun Nov 19 18:59:08 GMT 2017view raw

  1. gcc (Ubuntu/Linaro 7.2.0-8ubuntu3) 7.2.0
  2. (this is Ubuntu 17.10 (artful)on a nanoPi (raspberry clone))
  3.  
  4.  
  5.  
  6. gcc -c -O2 -pipe -Wall -Wwrite-strings -Wsign-compare -Wdeclaration-after-statement -fPIC -DBUILD_tcl [...] /home/fa/tcl/zipvfs/generic/tclDate.c
  7. /home/fa/tcl/zipvfs/generic/tclDate.c: In function TclDateparse:
  8. /home/fa/tcl/zipvfs/generic/tclDate.c:1576:12: warning: TclDatelval.Number may be used uninitialized in this function [-Wmaybe-uninitialized]
  9. *++yyvsp = yylval;
  10. ^
  11.  
  12. and
  13.  
  14.  
  15.  
  16. gcc -c -O2 -pipe -Wall -Wwrite-strings -Wsign-compare -Wdeclaration-after-statement -fPIC -DBUILD_tcl [...] /home/fa/tcl/zipvfs/generic/tclZipfs.c
  17. /home/fa/tcl/zipvfs/generic/tclZipfs.c: In function ZipAddFile:
  18. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1660:26: warning: passing argument 3 of init_keys from incompatible pointer type [-Wincompatible-pointer-types]
  19. init_keys(passwd, keys, crc32tab);
  20. ^~~~~~~~
  21. In file included from /home/fa/tcl/zipvfs/generic/tclZipfs.c:29:0:
  22. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:65:13: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  23. static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab)
  24. ^~~~~~~~~
  25. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1672:52: warning: passing argument 2 of decrypt_byte from incompatible pointer type [-Wincompatible-pointer-types]
  26. kvbuf[i + 12] = (unsigned char) zencode(keys, crc32tab, ch, tmp);
  27. ^
  28. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:80:27: note: in definition of macro zencode
  29. (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c))
  30. ^~~~~~~~~~~
  31. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:35:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  32. static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
  33. ^~~~~~~~~~~~
  34. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1672:52: warning: passing argument 2 of update_keys from incompatible pointer type [-Wincompatible-pointer-types]
  35. kvbuf[i + 12] = (unsigned char) zencode(keys, crc32tab, ch, tmp);
  36. ^
  37. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:80:59: note: in definition of macro zencode
  38. (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c))
  39. ^~~~~~~~~~~
  40. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:48:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  41. static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c)
  42. ^~~~~~~~~~~
  43. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1675:26: warning: passing argument 3 of init_keys from incompatible pointer type [-Wincompatible-pointer-types]
  44. init_keys(passwd, keys, crc32tab);
  45. ^~~~~~~~
  46. In file included from /home/fa/tcl/zipvfs/generic/tclZipfs.c:29:0:
  47. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:65:13: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  48. static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab)
  49. ^~~~~~~~~
  50. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1677:47: warning: passing argument 2 of decrypt_byte from incompatible pointer type [-Wincompatible-pointer-types]
  51. kvbuf[i] = (unsigned char) zencode(keys, crc32tab,
  52. ^
  53. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:80:27: note: in definition of macro zencode
  54. (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c))
  55. ^~~~~~~~~~~
  56. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:35:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  57. static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
  58. ^~~~~~~~~~~~
  59. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1677:47: warning: passing argument 2 of update_keys from incompatible pointer type [-Wincompatible-pointer-types]
  60. kvbuf[i] = (unsigned char) zencode(keys, crc32tab,
  61. ^
  62. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:80:59: note: in definition of macro zencode
  63. (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c))
  64. ^~~~~~~~~~~
  65. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:48:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  66. static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c)
  67. ^~~~~~~~~~~
  68. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1680:45: warning: passing argument 2 of decrypt_byte from incompatible pointer type [-Wincompatible-pointer-types]
  69. kvbuf[i++] = (unsigned char) zencode(keys, crc32tab, crc >> 16, tmp);
  70. ^
  71. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:80:27: note: in definition of macro zencode
  72. (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c))
  73. ^~~~~~~~~~~
  74. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:35:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  75. static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
  76. ^~~~~~~~~~~~
  77. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1680:45: warning: passing argument 2 of update_keys from incompatible pointer type [-Wincompatible-pointer-types]
  78. kvbuf[i++] = (unsigned char) zencode(keys, crc32tab, crc >> 16, tmp);
  79. ^
  80. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:80:59: note: in definition of macro zencode
  81. (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c))
  82. ^~~~~~~~~~~
  83. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:48:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  84. static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c)
  85. ^~~~~~~~~~~
  86. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1681:45: warning: passing argument 2 of decrypt_byte from incompatible pointer type [-Wincompatible-pointer-types]
  87. kvbuf[i++] = (unsigned char) zencode(keys, crc32tab, crc >> 24, tmp);
  88. ^
  89. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:80:27: note: in definition of macro zencode
  90. (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c))
  91. ^~~~~~~~~~~
  92. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:35:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  93. static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
  94. ^~~~~~~~~~~~
  95. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1681:45: warning: passing argument 2 of update_keys from incompatible pointer type [-Wincompatible-pointer-types]
  96. kvbuf[i++] = (unsigned char) zencode(keys, crc32tab, crc >> 24, tmp);
  97. ^
  98. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:80:59: note: in definition of macro zencode
  99. (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c))
  100. ^~~~~~~~~~~
  101. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:48:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  102. static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c)
  103. ^~~~~~~~~~~
  104. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1734:38: warning: passing argument 2 of decrypt_byte from incompatible pointer type [-Wincompatible-pointer-types]
  105. obuf[i] = (char) zencode(keys, crc32tab, obuf[i], tmp);
  106. ^
  107. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:80:27: note: in definition of macro zencode
  108. (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c))
  109. ^~~~~~~~~~~
  110. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:35:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  111. static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
  112. ^~~~~~~~~~~~
  113. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1734:38: warning: passing argument 2 of update_keys from incompatible pointer type [-Wincompatible-pointer-types]
  114. obuf[i] = (char) zencode(keys, crc32tab, obuf[i], tmp);
  115. ^
  116. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:80:59: note: in definition of macro zencode
  117. (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c))
  118. ^~~~~~~~~~~
  119. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:48:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  120. static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c)
  121. ^~~~~~~~~~~
  122. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1778:38: warning: passing argument 2 of decrypt_byte from incompatible pointer type [-Wincompatible-pointer-types]
  123. buf[i] = (char) zencode(keys0, crc32tab, buf[i], tmp);
  124. ^
  125. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:80:27: note: in definition of macro zencode
  126. (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c))
  127. ^~~~~~~~~~~
  128. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:35:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  129. static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
  130. ^~~~~~~~~~~~
  131. /home/fa/tcl/zipvfs/generic/tclZipfs.c:1778:38: warning: passing argument 2 of update_keys from incompatible pointer type [-Wincompatible-pointer-types]
  132. buf[i] = (char) zencode(keys0, crc32tab, buf[i], tmp);
  133. ^
  134. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:80:59: note: in definition of macro zencode
  135. (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c))
  136. ^~~~~~~~~~~
  137. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:48:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  138. static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c)
  139. ^~~~~~~~~~~
  140. /home/fa/tcl/zipvfs/generic/tclZipfs.c: In function ZipChannelRead:
  141. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2523:35: warning: passing argument 2 of decrypt_byte from incompatible pointer type [-Wincompatible-pointer-types]
  142. buf[i] = zdecode(info->keys, crc32tab, ch);
  143. ^
  144. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:77:60: note: in definition of macro zdecode
  145. (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
  146. ^~~~~~~~~~~
  147. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:35:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  148. static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
  149. ^~~~~~~~~~~~
  150. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2523:35: warning: passing argument 2 of update_keys from incompatible pointer type [-Wincompatible-pointer-types]
  151. buf[i] = zdecode(info->keys, crc32tab, ch);
  152. ^
  153. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:77:24: note: in definition of macro zdecode
  154. (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
  155. ^~~~~~~~~~~
  156. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:48:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  157. static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c)
  158. ^~~~~~~~~~~
  159. /home/fa/tcl/zipvfs/generic/tclZipfs.c: In function ZipChannelOpen:
  160. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2846:36: warning: passing argument 3 of init_keys from incompatible pointer type [-Wincompatible-pointer-types]
  161. init_keys(pwbuf, info->keys, crc32tab);
  162. ^~~~~~~~
  163. In file included from /home/fa/tcl/zipvfs/generic/tclZipfs.c:29:0:
  164. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:65:13: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  165. static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab)
  166. ^~~~~~~~~
  167. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2850:24: warning: passing argument 2 of decrypt_byte from incompatible pointer type [-Wincompatible-pointer-types]
  168. zdecode(info->keys, crc32tab, ch);
  169. ^
  170. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:77:60: note: in definition of macro zdecode
  171. (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
  172. ^~~~~~~~~~~
  173. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:35:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  174. static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
  175. ^~~~~~~~~~~~
  176. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2850:24: warning: passing argument 2 of update_keys from incompatible pointer type [-Wincompatible-pointer-types]
  177. zdecode(info->keys, crc32tab, ch);
  178. ^
  179. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:77:24: note: in definition of macro zdecode
  180. (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
  181. ^~~~~~~~~~~
  182. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:48:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  183. static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c)
  184. ^~~~~~~~~~~
  185. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2875:38: warning: passing argument 2 of decrypt_byte from incompatible pointer type [-Wincompatible-pointer-types]
  186. cbuf[j] = zdecode(info->keys, crc32tab, ch);
  187. ^
  188. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:77:60: note: in definition of macro zdecode
  189. (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
  190. ^~~~~~~~~~~
  191. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:35:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  192. static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
  193. ^~~~~~~~~~~~
  194. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2875:38: warning: passing argument 2 of update_keys from incompatible pointer type [-Wincompatible-pointer-types]
  195. cbuf[j] = zdecode(info->keys, crc32tab, ch);
  196. ^
  197. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:77:24: note: in definition of macro zdecode
  198. (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
  199. ^~~~~~~~~~~
  200. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:48:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  201. static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c)
  202. ^~~~~~~~~~~
  203. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2913:40: warning: passing argument 2 of decrypt_byte from incompatible pointer type [-Wincompatible-pointer-types]
  204. info->ubuf[i] = zdecode(info->keys, crc32tab, ch);
  205. ^
  206. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:77:60: note: in definition of macro zdecode
  207. (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
  208. ^~~~~~~~~~~
  209. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:35:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  210. static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
  211. ^~~~~~~~~~~~
  212. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2913:40: warning: passing argument 2 of update_keys from incompatible pointer type [-Wincompatible-pointer-types]
  213. info->ubuf[i] = zdecode(info->keys, crc32tab, ch);
  214. ^
  215. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:77:24: note: in definition of macro zdecode
  216. (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
  217. ^~~~~~~~~~~
  218. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:48:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  219. static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c)
  220. ^~~~~~~~~~~
  221. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2949:35: warning: passing argument 3 of init_keys from incompatible pointer type [-Wincompatible-pointer-types]
  222. init_keys(pwbuf, info->keys, crc32tab);
  223. ^~~~~~~~
  224. In file included from /home/fa/tcl/zipvfs/generic/tclZipfs.c:29:0:
  225. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:65:13: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  226. static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab)
  227. ^~~~~~~~~
  228. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2953:23: warning: passing argument 2 of decrypt_byte from incompatible pointer type [-Wincompatible-pointer-types]
  229. zdecode(info->keys, crc32tab, ch);
  230. ^
  231. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:77:60: note: in definition of macro zdecode
  232. (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
  233. ^~~~~~~~~~~
  234. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:35:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  235. static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
  236. ^~~~~~~~~~~~
  237. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2953:23: warning: passing argument 2 of update_keys from incompatible pointer type [-Wincompatible-pointer-types]
  238. zdecode(info->keys, crc32tab, ch);
  239. ^
  240. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:77:24: note: in definition of macro zdecode
  241. (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
  242. ^~~~~~~~~~~
  243. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:48:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  244. static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c)
  245. ^~~~~~~~~~~
  246. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2977:37: warning: passing argument 2 of decrypt_byte from incompatible pointer type [-Wincompatible-pointer-types]
  247. ubuf[j] = zdecode(info->keys, crc32tab, ch);
  248. ^
  249. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:77:60: note: in definition of macro zdecode
  250. (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
  251. ^~~~~~~~~~~
  252. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:35:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  253. static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab)
  254. ^~~~~~~~~~~~
  255. /home/fa/tcl/zipvfs/generic/tclZipfs.c:2977:37: warning: passing argument 2 of update_keys from incompatible pointer type [-Wincompatible-pointer-types]
  256. ubuf[j] = zdecode(info->keys, crc32tab, ch);
  257. ^
  258. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:77:24: note: in definition of macro zdecode
  259. (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab)))
  260. ^~~~~~~~~~~
  261. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/crypt.h:48:12: note: expected const z_crc_t * {aka const unsigned int *} but argument is of type const long unsigned int *
  262. static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c)
  263. ^~~~~~~~~~~
  264.  
  265.  
  266.  
  267. and
  268.  
  269.  
  270. gcc -o minizip.o -I/home/fa/tcl/zipvfs/compat/zlib -I/home/fa/tcl/zipvfs/compat/zlib/contrib/minizip -c /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/minizip.c
  271. /home/fa/tcl/zipvfs/compat/zlib/contrib/minizip/minizip.c:97:13: warning: extra tokens at end of #ifdef directive
  272. #ifdef unix || __APPLE__
  273. ^~
  274.  
  275.  
  276.