Advertisement
Guest User

Errors when Compiling Mono on Windows via Cygwin

a guest
Feb 3rd, 2015
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.47 KB | None | 0 0
  1. (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /cygdrive/c/projects/mono/mono/missing autoheader)
  2. rm -f stamp-h1
  3. touch config.h.in
  4. cd . && /bin/sh ./config.status config.h
  5. config.status: creating config.h
  6. config.status: config.h is unchanged
  7. Git submodules updated successfully
  8. /usr/bin/make all-recursive
  9. make[1]: Entering directory '/cygdrive/c/projects/mono/mono'
  10. Making all in po
  11. make[2]: Entering directory '/cygdrive/c/projects/mono/mono/po'
  12. Making all in mcs
  13. make[3]: Entering directory '/cygdrive/c/projects/mono/mono/po/mcs'
  14. make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/po/mcs'
  15. make[3]: Entering directory '/cygdrive/c/projects/mono/mono/po'
  16. make[3]: Nothing to be done for 'all-am'.
  17. make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/po'
  18. make[2]: Leaving directory '/cygdrive/c/projects/mono/mono/po'
  19. Making all in libgc
  20. make[2]: Entering directory '/cygdrive/c/projects/mono/mono/libgc'
  21. Making all in m4
  22. make[3]: Entering directory '/cygdrive/c/projects/mono/mono/libgc/m4'
  23. make[3]: Nothing to be done for 'all'.
  24. make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/libgc/m4'
  25. Making all in include
  26. make[3]: Entering directory '/cygdrive/c/projects/mono/mono/libgc/include'
  27. Making all in private
  28. make[4]: Entering directory '/cygdrive/c/projects/mono/mono/libgc/include/private'
  29. make[4]: Nothing to be done for 'all'.
  30. make[4]: Leaving directory '/cygdrive/c/projects/mono/mono/libgc/include/private'
  31. make[4]: Entering directory '/cygdrive/c/projects/mono/mono/libgc/include'
  32. make[4]: Nothing to be done for 'all-am'.
  33. make[4]: Leaving directory '/cygdrive/c/projects/mono/mono/libgc/include'
  34. make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/libgc/include'
  35. Making all in doc
  36. make[3]: Entering directory '/cygdrive/c/projects/mono/mono/libgc/doc'
  37. make[3]: Nothing to be done for 'all'.
  38. make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/libgc/doc'
  39. make[3]: Entering directory '/cygdrive/c/projects/mono/mono/libgc'
  40. make[3]: Nothing to be done for 'all-am'.
  41. make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/libgc'
  42. make[2]: Leaving directory '/cygdrive/c/projects/mono/mono/libgc'
  43. Making all in eglib
  44. make[2]: Entering directory '/cygdrive/c/projects/mono/mono/eglib'
  45. (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /cygdrive/c/projects/mono/mono/missing autoheader)
  46. rm -f stamp-h1
  47. touch config.h.in
  48. cd . && /bin/sh ./config.status config.h
  49. config.status: creating config.h
  50. config.status: config.h is unchanged
  51. /usr/bin/make all-recursive
  52. make[3]: Entering directory '/cygdrive/c/projects/mono/mono/eglib'
  53. Making all in m4
  54. make[4]: Entering directory '/cygdrive/c/projects/mono/mono/eglib/m4'
  55. make[4]: Nothing to be done for 'all'.
  56. make[4]: Leaving directory '/cygdrive/c/projects/mono/mono/eglib/m4'
  57. Making all in src
  58. make[4]: Entering directory '/cygdrive/c/projects/mono/mono/eglib/src'
  59. CC libeglib_la-garray.lo
  60. CC libeglib_la-gbytearray.lo
  61. CC libeglib_la-gerror.lo
  62. CC libeglib_la-ghashtable.lo
  63. CC libeglib_la-giconv.lo
  64. CC libeglib_la-gmem.lo
  65. CC libeglib_la-goutput.lo
  66. goutput.c: In function 'monoeg_assertion_message':
  67. goutput.c:135:1: warning: 'noreturn' function does return [enabled by default]
  68. CC libeglib_la-gqsort.lo
  69. CC libeglib_la-gstr.lo
  70. CC libeglib_la-gslist.lo
  71. CC libeglib_la-gstring.lo
  72. CC libeglib_la-gptrarray.lo
  73. CC libeglib_la-glist.lo
  74. CC libeglib_la-gqueue.lo
  75. CC libeglib_la-gpath.lo
  76. CC libeglib_la-gshell.lo
  77. CC libeglib_la-gspawn.lo
  78. gspawn.c:200:1: warning: 'write_all' defined but not used [-Wunused-function]
  79. CC libeglib_la-gfile.lo
  80. CC libeglib_la-gfile-posix.lo
  81. CC libeglib_la-gpattern.lo
  82. CC libeglib_la-gmarkup.lo
  83. CC libeglib_la-gutf8.lo
  84. CC libeglib_la-gunicode.lo
  85. CC libeglib_la-gdate-win32.lo
  86. CC libeglib_la-gdir-win32.lo
  87. CC libeglib_la-gfile-win32.lo
  88. CC libeglib_la-gmisc-win32.lo
  89. CC libeglib_la-gmodule-win32.lo
  90. CC libeglib_la-gtimer-win32.lo
  91. CCLD libeglib.la
  92. CC libeglib_static_la-garray.lo
  93. CC libeglib_static_la-gbytearray.lo
  94. CC libeglib_static_la-gerror.lo
  95. CC libeglib_static_la-ghashtable.lo
  96. CC libeglib_static_la-giconv.lo
  97. CC libeglib_static_la-gmem.lo
  98. CC libeglib_static_la-goutput.lo
  99. goutput.c: In function 'monoeg_assertion_message':
  100. goutput.c:135:1: warning: 'noreturn' function does return [enabled by default]
  101. CC libeglib_static_la-gqsort.lo
  102. CC libeglib_static_la-gstr.lo
  103. CC libeglib_static_la-gslist.lo
  104. CC libeglib_static_la-gstring.lo
  105. CC libeglib_static_la-gptrarray.lo
  106. CC libeglib_static_la-glist.lo
  107. CC libeglib_static_la-gqueue.lo
  108. CC libeglib_static_la-gpath.lo
  109. CC libeglib_static_la-gshell.lo
  110. CC libeglib_static_la-gspawn.lo
  111. gspawn.c:200:1: warning: 'write_all' defined but not used [-Wunused-function]
  112. CC libeglib_static_la-gfile.lo
  113. CC libeglib_static_la-gfile-posix.lo
  114. CC libeglib_static_la-gpattern.lo
  115. CC libeglib_static_la-gmarkup.lo
  116. CC libeglib_static_la-gutf8.lo
  117. CC libeglib_static_la-gunicode.lo
  118. CC libeglib_static_la-gdate-win32.lo
  119. CC libeglib_static_la-gdir-win32.lo
  120. CC libeglib_static_la-gfile-win32.lo
  121. CC libeglib_static_la-gmisc-win32.lo
  122. CC libeglib_static_la-gmodule-win32.lo
  123. CC libeglib_static_la-gtimer-win32.lo
  124. CCLD libeglib-static.la
  125. make[4]: Leaving directory '/cygdrive/c/projects/mono/mono/eglib/src'
  126. make[4]: Entering directory '/cygdrive/c/projects/mono/mono/eglib'
  127. make[4]: Leaving directory '/cygdrive/c/projects/mono/mono/eglib'
  128. make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/eglib'
  129. make[2]: Leaving directory '/cygdrive/c/projects/mono/mono/eglib'
  130. Making all in mono
  131. make[2]: Entering directory '/cygdrive/c/projects/mono/mono/mono'
  132. Making all in arch
  133. make[3]: Entering directory '/cygdrive/c/projects/mono/mono/mono/arch'
  134. make[4]: Entering directory '/cygdrive/c/projects/mono/mono/mono/arch'
  135. make[4]: Nothing to be done for 'all-am'.
  136. make[4]: Leaving directory '/cygdrive/c/projects/mono/mono/mono/arch'
  137. make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/mono/arch'
  138. Making all in utils
  139. make[3]: Entering directory '/cygdrive/c/projects/mono/mono/mono/utils'
  140. /usr/bin/make all-am
  141. make[4]: Entering directory '/cygdrive/c/projects/mono/mono/mono/utils'
  142. CC mono-md5.lo
  143. CC mono-sha1.lo
  144. CC mono-logger.lo
  145. CC mono-codeman.lo
  146. CC mono-counters.lo
  147. mono-counters.c: In function 'dump_counter':
  148. mono-counters.c:537:4: warning: unknown conversion type character 'l' in format [-Wformat]
  149. mono-counters.c:537:4: warning: too many arguments for format [-Wformat-extra-args]
  150. mono-counters.c:543:4: warning: unknown conversion type character 'l' in format [-Wformat]
  151. mono-counters.c:543:4: warning: too many arguments for format [-Wformat-extra-args]
  152. mono-counters.c:546:3: warning: unknown conversion type character 'z' in format [-Wformat]
  153. mono-counters.c:546:3: warning: too many arguments for format [-Wformat-extra-args]
  154. CC mono-dl.lo
  155. CC mono-dl-windows.lo
  156. CC mono-internal-hash.lo
  157. CC mono-io-portability.lo
  158. CC monobitset.lo
  159. CC mono-filemap.lo
  160. CC mono-mmap.lo
  161. CC mono-mutex.lo
  162. CC mono-networkinterfaces.lo
  163. CC mono-proclib.lo
  164. mono-proclib.c: In function 'mono_cpu_count':
  165. mono-proclib.c:556:6: warning: unused variable 'count' [-Wunused-variable]
  166. CC mono-publib.lo
  167. CC mono-time.lo
  168. CC strtod.lo
  169. CC strenc.lo
  170. CC mono-uri.lo
  171. CC mono-path.lo
  172. CC mono-semaphore.lo
  173. CC mono-stdlib.lo
  174. CC mono-property-hash.lo
  175. CC mono-value-hash.lo
  176. CC mono-error.lo
  177. CC mono-context.lo
  178. CC hazard-pointer.lo
  179. hazard-pointer.c: In function 'mono_hazard_pointer_save_for_signal_handler':
  180. hazard-pointer.c:235:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  181. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  182. from ../../mono/io-layer/io-layer.h:24,
  183. from ../../mono/utils/mono-semaphore.h:19,
  184. from ../../mono/utils/mono-threads.h:13,
  185. from hazard-pointer.c:14:
  186. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  187. CC lock-free-queue.lo
  188. lock-free-queue.c: In function 'get_dummy':
  189. lock-free-queue.c:177:3: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  190. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  191. from ../../mono/utils/atomic.h:27,
  192. from lock-free-queue.c:56:
  193. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  194. lock-free-queue.c: In function 'try_reenqueue_dummy':
  195. lock-free-queue.c:201:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  196. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  197. from ../../mono/utils/atomic.h:27,
  198. from lock-free-queue.c:56:
  199. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  200. CC lock-free-alloc.lo
  201. lock-free-alloc.c: In function 'set_anchor':
  202. lock-free-alloc.c:344:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  203. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  204. from ../../mono/utils/atomic.h:27,
  205. from lock-free-alloc.c:85:
  206. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  207. lock-free-alloc.c: At top level:
  208. lock-free-alloc.c:128:1: warning: always_inline function might not be inlinable [-Wattributes]
  209. CC lock-free-array-queue.lo
  210. lock-free-array-queue.c: In function 'mono_lock_free_array_queue_push':
  211. lock-free-array-queue.c:139:3: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  212. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  213. from ../../mono/utils/atomic.h:27,
  214. from lock-free-array-queue.c:19:
  215. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  216. lock-free-array-queue.c:141:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  217. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  218. from ../../mono/utils/atomic.h:27,
  219. from lock-free-array-queue.c:19:
  220. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  221. lock-free-array-queue.c:157:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  222. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  223. from ../../mono/utils/atomic.h:27,
  224. from lock-free-array-queue.c:19:
  225. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  226. lock-free-array-queue.c: In function 'mono_lock_free_array_queue_pop':
  227. lock-free-array-queue.c:173:3: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  228. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  229. from ../../mono/utils/atomic.h:27,
  230. from lock-free-array-queue.c:19:
  231. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  232. lock-free-array-queue.c:176:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  233. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  234. from ../../mono/utils/atomic.h:27,
  235. from lock-free-array-queue.c:19:
  236. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  237. CC mono-linked-list-set.lo
  238. CC mono-threads.lo
  239. mono-threads.c: In function 'mono_threads_add_async_job':
  240. mono-threads.c:967:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  241. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  242. from ../../mono/io-layer/io-layer.h:24,
  243. from ../../mono/utils/mono-semaphore.h:19,
  244. from mono-threads.c:14:
  245. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  246. mono-threads.c: In function 'mono_threads_consume_async_jobs':
  247. mono-threads.c:979:2: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  248. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  249. from ../../mono/io-layer/io-layer.h:24,
  250. from ../../mono/utils/mono-semaphore.h:19,
  251. from mono-threads.c:14:
  252. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  253. mono-threads.c: At top level:
  254. mono-threads.c:227:1: warning: 'thread_exited_dtor' defined but not used [-Wunused-function]
  255. CC mono-threads-posix.lo
  256. CC mono-threads-windows.lo
  257. mono-threads-windows.c:55:1: warning: no previous prototype for 'mono_threads_core_self_suspend' [-Wmissing-prototypes]
  258. mono-threads-windows.c: In function 'mono_threads_core_suspend':
  259. mono-threads-windows.c:75:3: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'DWORD' [-Wformat]
  260. mono-threads-windows.c:75:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' [-Wformat]
  261. mono-threads-windows.c: In function 'mono_threads_core_get_stack_bounds':
  262. mono-threads-windows.c:274:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  263. mono-threads-windows.c: At top level:
  264. mono-threads-windows.c:253:1: warning: always_inline function might not be inlinable [-Wattributes]
  265. CC mono-tls.lo
  266. CC atomic.lo
  267. CC mono-hwcap.lo
  268. CC mono-conc-hashtable.lo
  269. mono-conc-hashtable.c:79:1: warning: always_inline function might not be inlinable [-Wattributes]
  270. mono-conc-hashtable.c:73:1: warning: always_inline function might not be inlinable [-Wattributes]
  271. CC sha1.lo
  272. CC networking.lo
  273. CC networking-posix.lo
  274. networking-posix.c:30:1: warning: 'get_address_from_sockaddr' defined but not used [-Wunused-function]
  275. CC networking-fallback.lo
  276. CC networking-missing.lo
  277. CC networking-windows.lo
  278. CC mono-hwcap-x86.lo
  279. CCLD libmonoutils.la
  280. make[4]: Leaving directory '/cygdrive/c/projects/mono/mono/mono/utils'
  281. make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/mono/utils'
  282. Making all in io-layer
  283. make[3]: Entering directory '/cygdrive/c/projects/mono/mono/mono/io-layer'
  284. make[3]: Nothing to be done for 'all'.
  285. make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/mono/io-layer'
  286. Making all in cil
  287. make[3]: Entering directory '/cygdrive/c/projects/mono/mono/mono/cil'
  288. make[3]: Nothing to be done for 'all'.
  289. make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/mono/cil'
  290. Making all in metadata
  291. make[3]: Entering directory '/cygdrive/c/projects/mono/mono/mono/metadata'
  292. CC libmonoruntime_la-console-win32.lo
  293. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  294. from ../../mono/metadata/gc-internal.h:16,
  295. from console-win32.c:27:
  296. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  297. CC libmonoruntime_la-assembly.lo
  298. assembly.c: In function 'mono_assembly_addref':
  299. assembly.c:891:2: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  300. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  301. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  302. from ../../mono/utils/mono-mutex.h:23,
  303. from ../../mono/metadata/domain-internals.h:12,
  304. from ../../mono/metadata/metadata-internals.h:8,
  305. from ../../mono/metadata/class-internals.h:10,
  306. from object-internals.h:8,
  307. from assembly.c:19:
  308. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'int *'
  309. assembly.c: In function 'mono_assembly_close_except_image_pools':
  310. assembly.c:3082:2: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  311. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  312. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  313. from ../../mono/utils/mono-mutex.h:23,
  314. from ../../mono/metadata/domain-internals.h:12,
  315. from ../../mono/metadata/metadata-internals.h:8,
  316. from ../../mono/metadata/class-internals.h:10,
  317. from object-internals.h:8,
  318. from assembly.c:19:
  319. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'int *'
  320. CC libmonoruntime_la-attach.lo
  321. attach.c:579:1: warning: no previous prototype for 'mono_attach_parse_options' [-Wmissing-prototypes]
  322. attach.c:584:1: warning: no previous prototype for 'mono_attach_init' [-Wmissing-prototypes]
  323. attach.c:589:1: warning: no previous prototype for 'mono_attach_start' [-Wmissing-prototypes]
  324. attach.c:595:1: warning: no previous prototype for 'mono_attach_maybe_start' [-Wmissing-prototypes]
  325. attach.c:600:1: warning: no previous prototype for 'mono_attach_cleanup' [-Wmissing-prototypes]
  326. CC libmonoruntime_la-class.lo
  327. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  328. from ../../mono/metadata/gc-internal.h:16,
  329. from class.c:36:
  330. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  331. CC libmonoruntime_la-cominterop.lo
  332. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  333. from ../../mono/metadata/gc-internal.h:16,
  334. from cominterop.c:31:
  335. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  336. cominterop.c: In function 'ves_icall_System_Runtime_InteropServices_Marshal_ReleaseComObjectInternal':
  337. cominterop.c:1575:2: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  338. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  339. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  340. from ../../mono/utils/mono-mutex.h:23,
  341. from ../../mono/metadata/domain-internals.h:12,
  342. from ../../mono/metadata/metadata-internals.h:8,
  343. from ../../mono/metadata/class-internals.h:10,
  344. from ../../mono/metadata/object-internals.h:8,
  345. from ../../mono/metadata/method-builder.h:16,
  346. from ../../mono/metadata/cominterop.h:12,
  347. from cominterop.c:18:
  348. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  349. cominterop.c: In function 'cominterop_ccw_addref':
  350. cominterop.c:2273:2: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  351. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  352. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  353. from ../../mono/utils/mono-mutex.h:23,
  354. from ../../mono/metadata/domain-internals.h:12,
  355. from ../../mono/metadata/metadata-internals.h:8,
  356. from ../../mono/metadata/class-internals.h:10,
  357. from ../../mono/metadata/object-internals.h:8,
  358. from ../../mono/metadata/method-builder.h:16,
  359. from ../../mono/metadata/cominterop.h:12,
  360. from cominterop.c:18:
  361. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  362. cominterop.c: In function 'cominterop_ccw_release':
  363. cominterop.c:2291:2: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  364. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  365. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  366. from ../../mono/utils/mono-mutex.h:23,
  367. from ../../mono/metadata/domain-internals.h:12,
  368. from ../../mono/metadata/metadata-internals.h:8,
  369. from ../../mono/metadata/class-internals.h:10,
  370. from ../../mono/metadata/object-internals.h:8,
  371. from ../../mono/metadata/method-builder.h:16,
  372. from ../../mono/metadata/cominterop.h:12,
  373. from cominterop.c:18:
  374. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  375. cominterop.c: At top level:
  376. cominterop.c:2522:1: warning: 'init_com_provider_ms' defined but not used [-Wunused-function]
  377. CC libmonoruntime_la-coree.lo
  378. coree.c:67:24: warning: no previous prototype for '_CorDllMain' [-Wmissing-prototypes]
  379. coree.c:135:27: warning: no previous prototype for '_CorExeMain' [-Wmissing-prototypes]
  380. coree.c:205:24: warning: no previous prototype for 'CorExitProcess' [-Wmissing-prototypes]
  381. coree.c:219:8: warning: no previous prototype for '_CorValidateImage' [-Wmissing-prototypes]
  382. coree.c:383:15: warning: no previous prototype for '_CorImageUnloading' [-Wmissing-prototypes]
  383. coree.c:388:8: warning: no previous prototype for 'CorBindToRuntimeEx' [-Wmissing-prototypes]
  384. coree.c:397:8: warning: no previous prototype for 'CorBindToRuntime' [-Wmissing-prototypes]
  385. coree.c:495:2: warning: missing braces around initializer [-Wmissing-braces]
  386. coree.c:495:2: warning: (near initialization for 'ExportFixups[0].ProcAddress') [-Wmissing-braces]
  387. coree.c: In function 'MonoFixupExe':
  388. coree.c:803:7: warning: pointer targets in passing argument 2 of 'GetProcAddress' differ in signedness [-Wpointer-sign]
  389. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  390. from ../../mono/io-layer/io-layer.h:24,
  391. from coree.c:16:
  392. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1355:27: note: expected 'LPCSTR' but argument is of type 'BYTE *'
  393. coree.c: In function 'mono_set_act_ctx':
  394. coree.c:868:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  395. CC libmonoruntime_la-debug-helpers.lo
  396. CC libmonoruntime_la-debug-mono-symfile.lo
  397. CC libmonoruntime_la-decimal.lo
  398. CC libmonoruntime_la-environment.lo
  399. CC libmonoruntime_la-exception.lo
  400. CC libmonoruntime_la-file-io.lo
  401. file-io.c: In function 'ves_icall_System_IO_MonoIO_Read':
  402. file-io.c:833:2: warning: passing argument 4 of 'ReadFile' from incompatible pointer type [enabled by default]
  403. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  404. from ../../mono/io-layer/io-layer.h:24,
  405. from ./process.h:17,
  406. from /usr/i686-pc-mingw32/sys-root/mingw/include/unistd.h:37,
  407. from file-io.c:19:
  408. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1643:24: note: expected 'PDWORD' but argument is of type 'guint32 *'
  409. file-io.c: In function 'ves_icall_System_IO_MonoIO_Write':
  410. file-io.c:862:2: warning: passing argument 4 of 'WriteFile' from incompatible pointer type [enabled by default]
  411. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  412. from ../../mono/io-layer/io-layer.h:24,
  413. from ./process.h:17,
  414. from /usr/i686-pc-mingw32/sys-root/mingw/include/unistd.h:37,
  415. from file-io.c:19:
  416. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1796:24: note: expected 'PDWORD' but argument is of type 'guint32 *'
  417. file-io.c: In function 'ves_icall_System_IO_MonoIO_Seek':
  418. file-io.c:884:6: warning: passing argument 3 of 'SetFilePointer' from incompatible pointer type [enabled by default]
  419. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  420. from ../../mono/io-layer/io-layer.h:24,
  421. from ./process.h:17,
  422. from /usr/i686-pc-mingw32/sys-root/mingw/include/unistd.h:37,
  423. from file-io.c:19:
  424. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1699:25: note: expected 'PLONG' but argument is of type 'gint32 *'
  425. file-io.c: In function 'ves_icall_System_IO_MonoIO_GetLength':
  426. file-io.c:920:2: warning: passing argument 2 of 'GetFileSize' from incompatible pointer type [enabled by default]
  427. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  428. from ../../mono/io-layer/io-layer.h:24,
  429. from ./process.h:17,
  430. from /usr/i686-pc-mingw32/sys-root/mingw/include/unistd.h:37,
  431. from file-io.c:19:
  432. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1313:25: note: expected 'PDWORD' but argument is of type 'guint32 *'
  433. file-io.c: In function 'ves_icall_System_IO_MonoIO_SetLength':
  434. file-io.c:944:2: warning: passing argument 3 of 'SetFilePointer' from incompatible pointer type [enabled by default]
  435. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  436. from ../../mono/io-layer/io-layer.h:24,
  437. from ./process.h:17,
  438. from /usr/i686-pc-mingw32/sys-root/mingw/include/unistd.h:37,
  439. from file-io.c:19:
  440. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1699:25: note: expected 'PLONG' but argument is of type 'gint32 *'
  441. file-io.c:954:8: warning: passing argument 3 of 'SetFilePointer' from incompatible pointer type [enabled by default]
  442. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  443. from ../../mono/io-layer/io-layer.h:24,
  444. from ./process.h:17,
  445. from /usr/i686-pc-mingw32/sys-root/mingw/include/unistd.h:37,
  446. from file-io.c:19:
  447. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1699:25: note: expected 'PLONG' but argument is of type 'gint32 *'
  448. file-io.c:969:8: warning: passing argument 3 of 'SetFilePointer' from incompatible pointer type [enabled by default]
  449. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  450. from ../../mono/io-layer/io-layer.h:24,
  451. from ./process.h:17,
  452. from /usr/i686-pc-mingw32/sys-root/mingw/include/unistd.h:37,
  453. from file-io.c:19:
  454. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1699:25: note: expected 'PLONG' but argument is of type 'gint32 *'
  455. CC libmonoruntime_la-filewatcher.lo
  456. CC libmonoruntime_la-gc-memfuncs.lo
  457. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  458. from ../../mono/metadata/gc-internal.h:16,
  459. from gc-memfuncs.c:39:
  460. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  461. CC libmonoruntime_la-icall.lo
  462. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  463. from ../../mono/metadata/gc-internal.h:16,
  464. from icall.c:56:
  465. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  466. icall.c: In function 'ves_icall_System_CurrentSystemTimeZone_GetTimeZoneData':
  467. icall.c:6141:2: warning: passing argument 2 of 'mono_gc_wbarrier_generic_store' from incompatible pointer type [enabled by default]
  468. In file included from ./process.h:16:0,
  469. from /usr/i686-pc-mingw32/sys-root/mingw/include/unistd.h:37,
  470. from icall.c:27:
  471. ../../mono/metadata/object.h:351:15: note: expected 'struct MonoObject *' but argument is of type 'struct MonoArray *'
  472. icall.c:6142:2: warning: passing argument 2 of 'mono_gc_wbarrier_generic_store' from incompatible pointer type [enabled by default]
  473. In file included from ./process.h:16:0,
  474. from /usr/i686-pc-mingw32/sys-root/mingw/include/unistd.h:37,
  475. from icall.c:27:
  476. ../../mono/metadata/object.h:351:15: note: expected 'struct MonoObject *' but argument is of type 'struct MonoArray *'
  477. CC libmonoruntime_la-image.lo
  478. image.c: In function 'mono_image_fixup_vtable':
  479. image.c:1415:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  480. image.c: In function 'mono_image_addref':
  481. image.c:1457:2: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  482. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  483. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  484. from ../../mono/utils/mono-mutex.h:23,
  485. from ../../mono/metadata/domain-internals.h:12,
  486. from metadata-internals.h:8,
  487. from image.c:24:
  488. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'int *'
  489. image.c: In function 'mono_image_close_except_pools':
  490. image.c:1501:2: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  491. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  492. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  493. from ../../mono/utils/mono-mutex.h:23,
  494. from ../../mono/metadata/domain-internals.h:12,
  495. from metadata-internals.h:8,
  496. from image.c:24:
  497. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'int *'
  498. image.c: In function 'mono_image_open_full':
  499. image.c:1278:45: warning: 'last_error' may be used uninitialized in this function [-Wmaybe-uninitialized]
  500. CC libmonoruntime_la-jit-info.lo
  501. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  502. from ../../mono/metadata/gc-internal.h:16,
  503. from jit-info.c:18:
  504. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  505. CC libmonoruntime_la-loader.lo
  506. CC libmonoruntime_la-locales.lo
  507. locales.c:437:1: warning: 'get_posix_locale' defined but not used [-Wunused-function]
  508. CC libmonoruntime_la-lock-tracer.lo
  509. CC libmonoruntime_la-marshal.lo
  510. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  511. from ../../mono/metadata/gc-internal.h:16,
  512. from marshal.c:33:
  513. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  514. CC libmonoruntime_la-mempool.lo
  515. CC libmonoruntime_la-metadata.lo
  516. CC libmonoruntime_la-metadata-verify.lo
  517. CC libmonoruntime_la-method-builder.lo
  518. CC libmonoruntime_la-mono-basic-block.lo
  519. CC libmonoruntime_la-mono-config.lo
  520. CC libmonoruntime_la-mono-cq.lo
  521. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  522. from ../../mono/metadata/gc-internal.h:16,
  523. from ../../mono/metadata/mono-cq.h:7,
  524. from mono-cq.c:12:
  525. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  526. mono-cq.c: In function 'mono_cqitem_try_enqueue':
  527. mono-cq.c:134:3: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  528. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  529. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  530. from ../../mono/utils/mono-mutex.h:23,
  531. from ../../mono/metadata/domain-internals.h:12,
  532. from ../../mono/metadata/metadata-internals.h:8,
  533. from ../../mono/metadata/class-internals.h:10,
  534. from ../../mono/metadata/object-internals.h:8,
  535. from ../../mono/metadata/gc-internal.h:14,
  536. from ../../mono/metadata/mono-cq.h:7,
  537. from mono-cq.c:12:
  538. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  539. mono-cq.c: In function 'mono_cq_enqueue':
  540. mono-cq.c:157:4: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  541. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  542. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  543. from ../../mono/utils/mono-mutex.h:23,
  544. from ../../mono/metadata/domain-internals.h:12,
  545. from ../../mono/metadata/metadata-internals.h:8,
  546. from ../../mono/metadata/class-internals.h:10,
  547. from ../../mono/metadata/object-internals.h:8,
  548. from ../../mono/metadata/gc-internal.h:14,
  549. from ../../mono/metadata/mono-cq.h:7,
  550. from mono-cq.c:12:
  551. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  552. mono-cq.c: In function 'mono_cqitem_try_dequeue':
  553. mono-cq.c:210:3: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  554. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  555. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  556. from ../../mono/utils/mono-mutex.h:23,
  557. from ../../mono/metadata/domain-internals.h:12,
  558. from ../../mono/metadata/metadata-internals.h:8,
  559. from ../../mono/metadata/class-internals.h:10,
  560. from ../../mono/metadata/object-internals.h:8,
  561. from ../../mono/metadata/gc-internal.h:14,
  562. from ../../mono/metadata/mono-cq.h:7,
  563. from mono-cq.c:12:
  564. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  565. mono-cq.c: In function 'mono_cq_dequeue':
  566. mono-cq.c:246:4: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  567. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  568. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  569. from ../../mono/utils/mono-mutex.h:23,
  570. from ../../mono/metadata/domain-internals.h:12,
  571. from ../../mono/metadata/metadata-internals.h:8,
  572. from ../../mono/metadata/class-internals.h:10,
  573. from ../../mono/metadata/object-internals.h:8,
  574. from ../../mono/metadata/gc-internal.h:14,
  575. from ../../mono/metadata/mono-cq.h:7,
  576. from mono-cq.c:12:
  577. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  578. CC libmonoruntime_la-mono-debug.lo
  579. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  580. from ../../mono/metadata/gc-internal.h:16,
  581. from mono-debug.c:21:
  582. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  583. CC libmonoruntime_la-mono-endian.lo
  584. CC libmonoruntime_la-mono-mlist.lo
  585. CC libmonoruntime_la-mono-perfcounters.lo
  586. mono-perfcounters.c: In function 'predef_writable_update':
  587. mono-perfcounters.c:1156:5: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  588. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  589. from ../../mono/io-layer/io-layer.h:24,
  590. from ./process.h:17,
  591. from /usr/i686-pc-mingw32/sys-root/mingw/include/unistd.h:37,
  592. from mono-perfcounters.c:17:
  593. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  594. mono-perfcounters.c:1158:5: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  595. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  596. from ../../mono/io-layer/io-layer.h:24,
  597. from ./process.h:17,
  598. from /usr/i686-pc-mingw32/sys-root/mingw/include/unistd.h:37,
  599. from mono-perfcounters.c:17:
  600. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  601. CC libmonoruntime_la-mono-route.lo
  602. CC libmonoruntime_la-mono-wsq.lo
  603. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  604. from ../../mono/metadata/gc-internal.h:16,
  605. from ../../mono/metadata/mono-wsq.h:7,
  606. from mono-wsq.c:13:
  607. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  608. mono-wsq.c: In function 'mono_wsq_suspend':
  609. mono-wsq.c:80:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  610. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  611. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  612. from ../../mono/utils/mono-mutex.h:23,
  613. from ../../mono/metadata/domain-internals.h:12,
  614. from ../../mono/metadata/metadata-internals.h:8,
  615. from ../../mono/metadata/class-internals.h:10,
  616. from ../../mono/metadata/object-internals.h:8,
  617. from ../../mono/metadata/gc-internal.h:14,
  618. from ../../mono/metadata/mono-wsq.h:7,
  619. from mono-wsq.c:13:
  620. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  621. mono-wsq.c: In function 'mono_wsq_local_pop':
  622. mono-wsq.c:184:2: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  623. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  624. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  625. from ../../mono/utils/mono-mutex.h:23,
  626. from ../../mono/metadata/domain-internals.h:12,
  627. from ../../mono/metadata/metadata-internals.h:8,
  628. from ../../mono/metadata/class-internals.h:10,
  629. from ../../mono/metadata/object-internals.h:8,
  630. from ../../mono/metadata/gc-internal.h:14,
  631. from ../../mono/metadata/mono-wsq.h:7,
  632. from mono-wsq.c:13:
  633. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  634. mono-wsq.c: In function 'mono_wsq_try_steal':
  635. mono-wsq.c:219:3: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  636. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  637. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  638. from ../../mono/utils/mono-mutex.h:23,
  639. from ../../mono/metadata/domain-internals.h:12,
  640. from ../../mono/metadata/metadata-internals.h:8,
  641. from ../../mono/metadata/class-internals.h:10,
  642. from ../../mono/metadata/object-internals.h:8,
  643. from ../../mono/metadata/gc-internal.h:14,
  644. from ../../mono/metadata/mono-wsq.h:7,
  645. from mono-wsq.c:13:
  646. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  647. CC libmonoruntime_la-nacl-stub.lo
  648. CC libmonoruntime_la-opcodes.lo
  649. CC libmonoruntime_la-socket-io.lo
  650. socket-io.c: In function 'ves_icall_System_Net_Sockets_Socket_Available_internal':
  651. socket-io.c:739:2: warning: passing argument 3 of 'ioctlsocket' from incompatible pointer type [enabled by default]
  652. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  653. from socket-io.c:24:
  654. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:578:32: note: expected 'u_long *' but argument is of type 'int *'
  655. socket-io.c: In function 'ves_icall_System_Net_Sockets_Socket_Disconnect_internal':
  656. socket-io.c:1311:4: warning: pointer targets in passing argument 7 of 'WSAIoctl' differ in signedness [-Wpointer-sign]
  657. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  658. from socket-io.c:24:
  659. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:1178:32: note: expected 'LPDWORD' but argument is of type 'glong *'
  660. socket-io.c:1329:5: warning: pointer targets in passing argument 7 of 'WSAIoctl' differ in signedness [-Wpointer-sign]
  661. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  662. from socket-io.c:24:
  663. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:1178:32: note: expected 'LPDWORD' but argument is of type 'glong *'
  664. socket-io.c: In function 'ves_icall_System_Net_Sockets_Socket_Receive_internal':
  665. socket-io.c:1378:3: warning: pointer targets in passing argument 2 of 'recv' differ in signedness [-Wpointer-sign]
  666. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  667. from socket-io.c:24:
  668. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:585:32: note: expected 'char *' but argument is of type 'guchar *'
  669. socket-io.c: In function 'ves_icall_System_Net_Sockets_Socket_RecvFrom_internal':
  670. socket-io.c:1453:2: warning: pointer targets in passing argument 2 of 'recvfrom' differ in signedness [-Wpointer-sign]
  671. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  672. from socket-io.c:24:
  673. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:586:32: note: expected 'char *' but argument is of type 'guchar *'
  674. socket-io.c: In function 'ves_icall_System_Net_Sockets_Socket_Send_internal':
  675. socket-io.c:1502:2: warning: pointer targets in passing argument 2 of 'send' differ in signedness [-Wpointer-sign]
  676. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  677. from socket-io.c:24:
  678. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:587:32: note: expected 'const char *' but argument is of type 'guchar *'
  679. socket-io.c: In function 'ves_icall_System_Net_Sockets_Socket_SendTo_internal':
  680. socket-io.c:1575:2: warning: pointer targets in passing argument 2 of 'sendto' differ in signedness [-Wpointer-sign]
  681. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  682. from socket-io.c:24:
  683. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:588:32: note: expected 'const char *' but argument is of type 'guchar *'
  684. socket-io.c: In function 'ves_icall_System_Net_Sockets_Socket_GetSocketOption_obj_internal':
  685. socket-io.c:1783:11: warning: passing argument 4 of 'getsockopt' from incompatible pointer type [enabled by default]
  686. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  687. from socket-io.c:24:
  688. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:581:32: note: expected 'char *' but argument is of type 'struct linger *'
  689. socket-io.c:1800:11: warning: passing argument 4 of 'getsockopt' from incompatible pointer type [enabled by default]
  690. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  691. from socket-io.c:24:
  692. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:581:32: note: expected 'char *' but argument is of type 'int *'
  693. socket-io.c: In function 'ves_icall_System_Net_Sockets_Socket_GetSocketOption_arr_internal':
  694. socket-io.c:1905:2: warning: pointer targets in passing argument 4 of 'getsockopt' differ in signedness [-Wpointer-sign]
  695. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  696. from socket-io.c:24:
  697. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:581:32: note: expected 'char *' but argument is of type 'guchar *'
  698. socket-io.c: In function 'ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal':
  699. socket-io.c:2045:7: warning: passing argument 4 of 'setsockopt' from incompatible pointer type [enabled by default]
  700. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  701. from socket-io.c:24:
  702. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:589:32: note: expected 'const char *' but argument is of type 'struct linger *'
  703. socket-io.c:2086:8: warning: passing argument 4 of 'setsockopt' from incompatible pointer type [enabled by default]
  704. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  705. from socket-io.c:24:
  706. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:589:32: note: expected 'const char *' but argument is of type 'struct ipv6_mreq *'
  707. socket-io.c:2091:12: warning: missing braces around initializer [-Wmissing-braces]
  708. socket-io.c:2091:12: warning: (near initialization for 'mreq.imr_multiaddr.S_un') [-Wmissing-braces]
  709. socket-io.c:2125:8: warning: passing argument 4 of 'setsockopt' from incompatible pointer type [enabled by default]
  710. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  711. from socket-io.c:24:
  712. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:589:32: note: expected 'const char *' but argument is of type 'struct ip_mreq *'
  713. socket-io.c:2144:5: warning: passing argument 4 of 'setsockopt' from incompatible pointer type [enabled by default]
  714. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  715. from socket-io.c:24:
  716. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:589:32: note: expected 'const char *' but argument is of type 'struct linger *'
  717. socket-io.c:2150:4: warning: pointer targets in passing argument 4 of 'setsockopt' differ in signedness [-Wpointer-sign]
  718. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  719. from socket-io.c:24:
  720. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:589:32: note: expected 'const char *' but argument is of type 'guchar *'
  721. socket-io.c:2159:4: warning: passing argument 4 of 'setsockopt' from incompatible pointer type [enabled by default]
  722. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  723. from socket-io.c:24:
  724. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:589:32: note: expected 'const char *' but argument is of type 'struct linger *'
  725. socket-io.c: In function 'ves_icall_System_Net_Sockets_Socket_WSAIoctl':
  726. socket-io.c:2253:2: warning: pointer targets in passing argument 7 of 'WSAIoctl' differ in signedness [-Wpointer-sign]
  727. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:41:0,
  728. from socket-io.c:24:
  729. /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:1178:32: note: expected 'LPDWORD' but argument is of type 'glong *'
  730. CC libmonoruntime_la-process.lo
  731. process.c: In function 'ves_icall_System_Diagnostics_Process_GetProcesses_internal':
  732. process.c:844:3: warning: passing argument 1 of 'EnumProcesses' from incompatible pointer type [enabled by default]
  733. In file included from ../../mono/io-layer/io-layer.h:34:0,
  734. from ../../mono/metadata/domain-internals.h:16,
  735. from ../../mono/metadata/metadata-internals.h:8,
  736. from ../../mono/metadata/class-internals.h:10,
  737. from ../../mono/metadata/object-internals.h:8,
  738. from process.c:16:
  739. /usr/i686-pc-mingw32/sys-root/mingw/include/psapi.h:108:13: note: expected 'DWORD *' but argument is of type 'guint32 *'
  740. CC libmonoruntime_la-profiler.lo
  741. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  742. from ../../mono/metadata/gc-internal.h:16,
  743. from profiler.c:21:
  744. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  745. CC libmonoruntime_la-rand.lo
  746. CC libmonoruntime_la-remoting.lo
  747. CC libmonoruntime_la-runtime.lo
  748. runtime.c: In function 'mono_runtime_try_shutdown':
  749. runtime.c:93:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  750. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  751. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  752. from ../../mono/utils/mono-mutex.h:23,
  753. from ../../mono/metadata/domain-internals.h:12,
  754. from ../../mono/metadata/metadata-internals.h:8,
  755. from ../../mono/metadata/class-internals.h:10,
  756. from runtime.c:16:
  757. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gboolean *'
  758. CC libmonoruntime_la-mono-security.lo
  759. mono-security.c: In function 'GetAdministratorsSid':
  760. mono-security.c:610:2: warning: missing braces around initializer [-Wmissing-braces]
  761. mono-security.c:610:2: warning: (near initialization for 'admins.Value') [-Wmissing-braces]
  762. mono-security.c: In function 'GetEveryoneSid':
  763. mono-security.c:623:2: warning: missing braces around initializer [-Wmissing-braces]
  764. mono-security.c:623:2: warning: (near initialization for 'everyone.Value') [-Wmissing-braces]
  765. CC libmonoruntime_la-security-core-clr.lo
  766. CC libmonoruntime_la-security-manager.lo
  767. CC libmonoruntime_la-string-icalls.lo
  768. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  769. from ../../mono/metadata/gc-internal.h:16,
  770. from string-icalls.c:26:
  771. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  772. CC libmonoruntime_la-sysmath.lo
  773. CC libmonoruntime_la-threads.lo
  774. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  775. from ../../mono/metadata/gc-internal.h:16,
  776. from threads.c:28:
  777. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  778. threads.c: In function 'get_next_managed_thread_id':
  779. threads.c:234:2: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  780. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  781. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  782. from ../../mono/utils/mono-mutex.h:23,
  783. from ../../mono/metadata/domain-internals.h:12,
  784. from threads.c:20:
  785. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  786. threads.c: In function 'thread_cleanup':
  787. threads.c:426:2: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  788. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  789. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  790. from ../../mono/utils/mono-mutex.h:23,
  791. from ../../mono/metadata/domain-internals.h:12,
  792. from threads.c:20:
  793. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  794. threads.c:427:3: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  795. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  796. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  797. from ../../mono/utils/mono-mutex.h:23,
  798. from ../../mono/metadata/domain-internals.h:12,
  799. from threads.c:20:
  800. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  801. threads.c: In function 'ves_icall_System_Threading_Semaphore_ReleaseSemaphore_internal':
  802. threads.c:1606:2: warning: passing argument 3 of 'ReleaseSemaphore' from incompatible pointer type [enabled by default]
  803. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  804. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  805. from ../../mono/utils/mono-mutex.h:23,
  806. from ../../mono/metadata/domain-internals.h:12,
  807. from threads.c:20:
  808. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1651:24: note: expected 'LPLONG' but argument is of type 'gint32 *'
  809. threads.c: In function 'ves_icall_System_Threading_Interlocked_Increment_Int':
  810. threads.c:1676:2: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  811. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  812. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  813. from ../../mono/utils/mono-mutex.h:23,
  814. from ../../mono/metadata/domain-internals.h:12,
  815. from threads.c:20:
  816. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  817. threads.c: In function 'ves_icall_System_Threading_Interlocked_Decrement_Int':
  818. threads.c:1696:2: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  819. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  820. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  821. from ../../mono/utils/mono-mutex.h:23,
  822. from ../../mono/metadata/domain-internals.h:12,
  823. from threads.c:20:
  824. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  825. threads.c: In function 'ves_icall_System_Threading_Interlocked_Exchange_Int':
  826. threads.c:1716:2: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  827. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  828. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  829. from ../../mono/utils/mono-mutex.h:23,
  830. from ../../mono/metadata/domain-internals.h:12,
  831. from threads.c:20:
  832. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  833. threads.c: In function 'ves_icall_System_Threading_Interlocked_Exchange_Single':
  834. threads.c:1737:2: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  835. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  836. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  837. from ../../mono/utils/mono-mutex.h:23,
  838. from ../../mono/metadata/domain-internals.h:12,
  839. from threads.c:20:
  840. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  841. threads.c: In function 'ves_icall_System_Threading_Interlocked_CompareExchange_Int':
  842. threads.c:1771:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  843. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  844. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  845. from ../../mono/utils/mono-mutex.h:23,
  846. from ../../mono/metadata/domain-internals.h:12,
  847. from threads.c:20:
  848. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  849. threads.c: In function 'ves_icall_System_Threading_Interlocked_CompareExchange_Int_Success':
  850. threads.c:1776:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  851. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  852. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  853. from ../../mono/utils/mono-mutex.h:23,
  854. from ../../mono/metadata/domain-internals.h:12,
  855. from threads.c:20:
  856. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  857. threads.c: In function 'ves_icall_System_Threading_Interlocked_CompareExchange_Single':
  858. threads.c:1800:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  859. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  860. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  861. from ../../mono/utils/mono-mutex.h:23,
  862. from ../../mono/metadata/domain-internals.h:12,
  863. from threads.c:20:
  864. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  865. threads.c: In function 'mono_thread_push_appdomain_ref':
  866. threads.c:3435:3: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  867. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  868. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  869. from ../../mono/utils/mono-mutex.h:23,
  870. from ../../mono/metadata/domain-internals.h:12,
  871. from threads.c:20:
  872. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile int *'
  873. threads.c: In function 'mono_thread_pop_appdomain_ref':
  874. threads.c:3450:3: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  875. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  876. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  877. from ../../mono/utils/mono-mutex.h:23,
  878. from ../../mono/metadata/domain-internals.h:12,
  879. from threads.c:20:
  880. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile int *'
  881. threads.c: In function 'mono_thread_internal_has_appdomain_ref':
  882. threads.c:3460:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  883. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  884. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  885. from ../../mono/utils/mono-mutex.h:23,
  886. from ../../mono/metadata/domain-internals.h:12,
  887. from threads.c:20:
  888. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile int *'
  889. threads.c: In function 'mono_thread_execute_interruption':
  890. threads.c:4141:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  891. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  892. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  893. from ../../mono/utils/mono-mutex.h:23,
  894. from ../../mono/metadata/domain-internals.h:12,
  895. from threads.c:20:
  896. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  897. threads.c:4146:3: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  898. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  899. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  900. from ../../mono/utils/mono-mutex.h:23,
  901. from ../../mono/metadata/domain-internals.h:12,
  902. from threads.c:20:
  903. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  904. threads.c: In function 'mono_thread_request_interruption':
  905. threads.c:4218:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  906. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  907. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  908. from ../../mono/utils/mono-mutex.h:23,
  909. from ../../mono/metadata/domain-internals.h:12,
  910. from threads.c:20:
  911. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  912. threads.c:4220:2: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  913. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  914. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  915. from ../../mono/utils/mono-mutex.h:23,
  916. from ../../mono/metadata/domain-internals.h:12,
  917. from threads.c:20:
  918. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  919. threads.c: In function 'mono_thread_resume_interruption':
  920. threads.c:4267:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  921. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  922. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  923. from ../../mono/utils/mono-mutex.h:23,
  924. from ../../mono/metadata/domain-internals.h:12,
  925. from threads.c:20:
  926. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  927. threads.c:4269:2: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  928. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  929. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  930. from ../../mono/utils/mono-mutex.h:23,
  931. from ../../mono/metadata/domain-internals.h:12,
  932. from threads.c:20:
  933. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  934. threads.c: In function 'abort_thread_internal':
  935. threads.c:4604:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  936. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  937. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  938. from ../../mono/utils/mono-mutex.h:23,
  939. from ../../mono/metadata/domain-internals.h:12,
  940. from threads.c:20:
  941. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  942. threads.c:4608:2: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  943. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  944. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  945. from ../../mono/utils/mono-mutex.h:23,
  946. from ../../mono/metadata/domain-internals.h:12,
  947. from threads.c:20:
  948. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  949. threads.c: In function 'suspend_thread_internal':
  950. threads.c:4691:4: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  951. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  952. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  953. from ../../mono/utils/mono-mutex.h:23,
  954. from ../../mono/metadata/domain-internals.h:12,
  955. from threads.c:20:
  956. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  957. threads.c:4692:5: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  958. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  959. from /usr/i686-pc-mingw32/sys-root/mingw/include/winsock2.h:40,
  960. from ../../mono/utils/mono-mutex.h:23,
  961. from ../../mono/metadata/domain-internals.h:12,
  962. from threads.c:20:
  963. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'gint32 *'
  964. threads.c: At top level:
  965. threads.c:168:20: warning: 'joinable_threads' defined but not used [-Wunused-variable]
  966. threads.c:169:12: warning: 'joinable_thread_count' defined but not used [-Wunused-variable]
  967. CC libmonoruntime_la-threadpool.lo
  968. In file included from threadpool.c:19:0:
  969. ../../mono/metadata/threadpool-internals.h:11:2: error: unknown type name 'mono_mutex_t'
  970. In file included from ../../mono/utils/gc_wrapper.h:46:0,
  971. from ../../mono/metadata/gc-internal.h:16,
  972. from ../../mono/metadata/mono-cq.h:7,
  973. from threadpool.c:26:
  974. ../../libgc/include/gc.h:1045:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  975. threadpool.c: In function 'socket_io_cleanup':
  976. threadpool.c:310:2: warning: passing argument 1 of 'EnterCriticalSection' from incompatible pointer type [enabled by default]
  977. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  978. from ../../mono/io-layer/io-layer.h:24,
  979. from ../../mono/metadata/threads-types.h:17,
  980. from threadpool.c:18:
  981. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1196:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  982. threadpool.c:312:3: warning: passing argument 1 of 'LeaveCriticalSection' from incompatible pointer type [enabled by default]
  983. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  984. from ../../mono/io-layer/io-layer.h:24,
  985. from ../../mono/metadata/threads-types.h:17,
  986. from threadpool.c:18:
  987. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1532:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  988. threadpool.c:317:2: warning: passing argument 1 of 'LeaveCriticalSection' from incompatible pointer type [enabled by default]
  989. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  990. from ../../mono/io-layer/io-layer.h:24,
  991. from ../../mono/metadata/threads-types.h:17,
  992. from threadpool.c:18:
  993. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1532:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  994. threadpool.c: In function 'threadpool_jobs_inc':
  995. threadpool.c:373:3: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  996. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  997. from ../../mono/io-layer/io-layer.h:24,
  998. from ../../mono/metadata/threads-types.h:17,
  999. from threadpool.c:18:
  1000. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'volatile int *'
  1001. threadpool.c: In function 'threadpool_jobs_dec':
  1002. threadpool.c:386:2: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  1003. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1004. from ../../mono/io-layer/io-layer.h:24,
  1005. from ../../mono/metadata/threads-types.h:17,
  1006. from threadpool.c:18:
  1007. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'volatile int *'
  1008. threadpool.c: In function 'mono_thread_pool_remove_socket':
  1009. threadpool.c:439:2: warning: passing argument 1 of 'EnterCriticalSection' from incompatible pointer type [enabled by default]
  1010. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1011. from ../../mono/io-layer/io-layer.h:24,
  1012. from ../../mono/metadata/threads-types.h:17,
  1013. from threadpool.c:18:
  1014. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1196:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  1015. threadpool.c:441:3: warning: passing argument 1 of 'LeaveCriticalSection' from incompatible pointer type [enabled by default]
  1016. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1017. from ../../mono/io-layer/io-layer.h:24,
  1018. from ../../mono/metadata/threads-types.h:17,
  1019. from threadpool.c:18:
  1020. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1532:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  1021. threadpool.c:447:2: warning: passing argument 1 of 'LeaveCriticalSection' from incompatible pointer type [enabled by default]
  1022. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1023. from ../../mono/io-layer/io-layer.h:24,
  1024. from ../../mono/metadata/threads-types.h:17,
  1025. from threadpool.c:18:
  1026. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1532:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  1027. threadpool.c: In function 'socket_io_init':
  1028. threadpool.c:493:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1029. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1030. from ../../mono/io-layer/io-layer.h:24,
  1031. from ../../mono/metadata/threads-types.h:17,
  1032. from threadpool.c:18:
  1033. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'int *'
  1034. threadpool.c:502:2: warning: passing argument 1 of 'EnterCriticalSection' from incompatible pointer type [enabled by default]
  1035. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1036. from ../../mono/io-layer/io-layer.h:24,
  1037. from ../../mono/metadata/threads-types.h:17,
  1038. from threadpool.c:18:
  1039. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1196:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  1040. threadpool.c:516:2: warning: passing argument 1 of 'LeaveCriticalSection' from incompatible pointer type [enabled by default]
  1041. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1042. from ../../mono/io-layer/io-layer.h:24,
  1043. from ../../mono/metadata/threads-types.h:17,
  1044. from threadpool.c:18:
  1045. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1532:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  1046. threadpool.c: In function 'socket_io_add':
  1047. threadpool.c:539:2: warning: passing argument 1 of 'EnterCriticalSection' from incompatible pointer type [enabled by default]
  1048. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1049. from ../../mono/io-layer/io-layer.h:24,
  1050. from ../../mono/metadata/threads-types.h:17,
  1051. from threadpool.c:18:
  1052. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1196:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  1053. threadpool.c:541:3: warning: passing argument 1 of 'LeaveCriticalSection' from incompatible pointer type [enabled by default]
  1054. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1055. from ../../mono/io-layer/io-layer.h:24,
  1056. from ../../mono/metadata/threads-types.h:17,
  1057. from threadpool.c:18:
  1058. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1532:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  1059. threadpool.c: In function 'mono_async_invoke':
  1060. threadpool.c:657:3: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  1061. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1062. from ../../mono/io-layer/io-layer.h:24,
  1063. from ../../mono/metadata/threads-types.h:17,
  1064. from threadpool.c:18:
  1065. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  1066. threadpool.c:659:2: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  1067. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1068. from ../../mono/io-layer/io-layer.h:24,
  1069. from ../../mono/metadata/threads-types.h:17,
  1070. from threadpool.c:18:
  1071. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  1072. threadpool.c: In function 'threadpool_start_idle_threads':
  1073. threadpool.c:677:4: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1074. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1075. from ../../mono/io-layer/io-layer.h:24,
  1076. from ../../mono/metadata/threads-types.h:17,
  1077. from threadpool.c:18:
  1078. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1079. threadpool.c: In function 'monitor_heuristic':
  1080. threadpool.c:811:2: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  1081. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1082. from ../../mono/io-layer/io-layer.h:24,
  1083. from ../../mono/metadata/threads-types.h:17,
  1084. from threadpool.c:18:
  1085. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  1086. threadpool.c: In function 'monitor_thread':
  1087. threadpool.c:921:5: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1088. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1089. from ../../mono/io-layer/io-layer.h:24,
  1090. from ../../mono/metadata/threads-types.h:17,
  1091. from threadpool.c:18:
  1092. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  1093. threadpool.c: In function 'mono_thread_pool_init':
  1094. threadpool.c:970:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1095. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1096. from ../../mono/io-layer/io-layer.h:24,
  1097. from ../../mono/metadata/threads-types.h:17,
  1098. from threadpool.c:18:
  1099. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile int *'
  1100. threadpool.c:980:2: warning: passing argument 1 of 'InitializeCriticalSection' from incompatible pointer type [enabled by default]
  1101. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1102. from ../../mono/io-layer/io-layer.h:24,
  1103. from ../../mono/metadata/threads-types.h:17,
  1104. from threadpool.c:18:
  1105. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1469:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  1106. threadpool.c: In function 'threadpool_kill_idle_threads':
  1107. threadpool.c:1125:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1108. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1109. from ../../mono/io-layer/io-layer.h:24,
  1110. from ../../mono/metadata/threads-types.h:17,
  1111. from threadpool.c:18:
  1112. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1113. threadpool.c: In function 'mono_thread_pool_cleanup':
  1114. threadpool.c:1135:2: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  1115. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1116. from ../../mono/io-layer/io-layer.h:24,
  1117. from ../../mono/metadata/threads-types.h:17,
  1118. from threadpool.c:18:
  1119. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1120. threadpool.c:1146:2: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  1121. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1122. from ../../mono/io-layer/io-layer.h:24,
  1123. from ../../mono/metadata/threads-types.h:17,
  1124. from threadpool.c:18:
  1125. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1126. threadpool.c: In function 'threadpool_start_thread':
  1127. threadpool.c:1181:3: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1128. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1129. from ../../mono/io-layer/io-layer.h:24,
  1130. from ../../mono/metadata/threads-types.h:17,
  1131. from threadpool.c:18:
  1132. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1133. threadpool.c: In function 'threadpool_kill_thread':
  1134. threadpool.c:1211:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1135. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1136. from ../../mono/io-layer/io-layer.h:24,
  1137. from ../../mono/metadata/threads-types.h:17,
  1138. from threadpool.c:18:
  1139. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1140. threadpool.c: In function 'threadpool_append_jobs':
  1141. threadpool.c:1242:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1142. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1143. from ../../mono/io-layer/io-layer.h:24,
  1144. from ../../mono/metadata/threads-types.h:17,
  1145. from threadpool.c:18:
  1146. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1147. threadpool.c:1258:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1148. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1149. from ../../mono/io-layer/io-layer.h:24,
  1150. from ../../mono/metadata/threads-types.h:17,
  1151. from threadpool.c:18:
  1152. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  1153. threadpool.c:1262:3: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1154. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1155. from ../../mono/io-layer/io-layer.h:24,
  1156. from ../../mono/metadata/threads-types.h:17,
  1157. from threadpool.c:18:
  1158. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint32 *'
  1159. threadpool.c: In function 'mono_thread_pool_remove_domain_jobs':
  1160. threadpool.c:1347:2: warning: passing argument 1 of 'EnterCriticalSection' from incompatible pointer type [enabled by default]
  1161. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1162. from ../../mono/io-layer/io-layer.h:24,
  1163. from ../../mono/metadata/threads-types.h:17,
  1164. from threadpool.c:18:
  1165. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1196:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  1166. threadpool.c:1351:2: warning: passing argument 1 of 'LeaveCriticalSection' from incompatible pointer type [enabled by default]
  1167. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1168. from ../../mono/io-layer/io-layer.h:24,
  1169. from ../../mono/metadata/threads-types.h:17,
  1170. from threadpool.c:18:
  1171. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1532:24: note: expected 'LPCRITICAL_SECTION' but argument is of type 'int *'
  1172. threadpool.c: In function 'should_i_die':
  1173. threadpool.c:1499:2: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1174. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1175. from ../../mono/io-layer/io-layer.h:24,
  1176. from ../../mono/metadata/threads-types.h:17,
  1177. from threadpool.c:18:
  1178. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1179. threadpool.c: In function 'async_invoke_thread':
  1180. threadpool.c:1576:4: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  1181. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1182. from ../../mono/io-layer/io-layer.h:24,
  1183. from ../../mono/metadata/threads-types.h:17,
  1184. from threadpool.c:18:
  1185. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1186. threadpool.c:1604:5: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  1187. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1188. from ../../mono/io-layer/io-layer.h:24,
  1189. from ../../mono/metadata/threads-types.h:17,
  1190. from threadpool.c:18:
  1191. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1192. threadpool.c:1611:6: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  1193. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1194. from ../../mono/io-layer/io-layer.h:24,
  1195. from ../../mono/metadata/threads-types.h:17,
  1196. from threadpool.c:18:
  1197. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1198. threadpool.c:1639:5: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  1199. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1200. from ../../mono/io-layer/io-layer.h:24,
  1201. from ../../mono/metadata/threads-types.h:17,
  1202. from threadpool.c:18:
  1203. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1204. threadpool.c:1658:4: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
  1205. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1206. from ../../mono/io-layer/io-layer.h:24,
  1207. from ../../mono/metadata/threads-types.h:17,
  1208. from threadpool.c:18:
  1209. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1504:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1210. threadpool.c:1664:5: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  1211. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1212. from ../../mono/io-layer/io-layer.h:24,
  1213. from ../../mono/metadata/threads-types.h:17,
  1214. from threadpool.c:18:
  1215. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1216. threadpool.c:1679:4: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
  1217. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1218. from ../../mono/io-layer/io-layer.h:24,
  1219. from ../../mono/metadata/threads-types.h:17,
  1220. from threadpool.c:18:
  1221. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1491:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1222. threadpool.c:1693:5: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1223. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1224. from ../../mono/io-layer/io-layer.h:24,
  1225. from ../../mono/metadata/threads-types.h:17,
  1226. from threadpool.c:18:
  1227. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1228. threadpool.c:1706:5: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
  1229. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1230. from ../../mono/io-layer/io-layer.h:24,
  1231. from ../../mono/metadata/threads-types.h:17,
  1232. from threadpool.c:18:
  1233. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1486:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1234. threadpool.c: In function 'ves_icall_System_Threading_ThreadPool_SetMinThreads':
  1235. threadpool.c:1772:2: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  1236. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1237. from ../../mono/io-layer/io-layer.h:24,
  1238. from ../../mono/metadata/threads-types.h:17,
  1239. from threadpool.c:18:
  1240. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1241. threadpool.c:1773:2: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  1242. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1243. from ../../mono/io-layer/io-layer.h:24,
  1244. from ../../mono/metadata/threads-types.h:17,
  1245. from threadpool.c:18:
  1246. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1247. threadpool.c: In function 'ves_icall_System_Threading_ThreadPool_SetMaxThreads':
  1248. threadpool.c:1798:2: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  1249. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1250. from ../../mono/io-layer/io-layer.h:24,
  1251. from ../../mono/metadata/threads-types.h:17,
  1252. from threadpool.c:18:
  1253. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1254. threadpool.c:1799:2: warning: passing argument 1 of 'InterlockedExchange' from incompatible pointer type [enabled by default]
  1255. In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
  1256. from ../../mono/io-layer/io-layer.h:24,
  1257. from ../../mono/metadata/threads-types.h:17,
  1258. from threadpool.c:18:
  1259. /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1493:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
  1260. Makefile:2463: recipe for target 'libmonoruntime_la-threadpool.lo' failed
  1261. make[3]: *** [libmonoruntime_la-threadpool.lo] Error 1
  1262. make[3]: Leaving directory '/cygdrive/c/projects/mono/mono/mono/metadata'
  1263. Makefile:436: recipe for target 'all-recursive' failed
  1264. make[2]: *** [all-recursive] Error 1
  1265. make[2]: Leaving directory '/cygdrive/c/projects/mono/mono/mono'
  1266. Makefile:520: recipe for target 'all-recursive' failed
  1267. make[1]: *** [all-recursive] Error 1
  1268. make[1]: Leaving directory '/cygdrive/c/projects/mono/mono'
  1269. Makefile:447: recipe for target 'all' failed
  1270. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement