[Mono-bugs] [Bug 42766][Wis] New - socket-io.c fails to build on Win32

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 11 May 2003 13:46:41 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by david@codenoevil.com.

http://bugzilla.ximian.com/show_bug.cgi?id=42766

--- shadow/42766	Sun May 11 13:46:41 2003
+++ shadow/42766.tmp.4609	Sun May 11 13:46:41 2003
@@ -0,0 +1,91 @@
+Bug#: 42766
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: david@codenoevil.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: socket-io.c fails to build on Win32
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+socket-io.c fails to build on Win32
+
+Steps to reproduce the problem:
+1. run mono-build-w32.sh
+2. 
+3. 
+
+Actual Results:
+gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -
+I/home/bittondb/src/mono/install/include/glib-2.0 -
+I/home/bittondb/src/mono/install/lib/glib-2.0/include -
+I/home/bittondb/src/mono/install/include/glib-2.0 -
+I/home/bittondb/src/mono/install/lib/glib-2.0/include -I../.. -
+I../../mono -DMONO_ASSEMBLIES=\"c:/src/mono/install/lib\" -
+DMONO_CFG_DIR=\"c:/src/mono/install/etc\" -
+I/home/david/src/mono/install/include -DGC_WIN32_THREADS -DWIN32_THREADS -
+O -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-
+prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-
+cast-qual -Wcast-align -Wwrite-strings -Wp,-MD,.deps/socket-io.pp -c 
+socket-io.c               -DDLL_EXPORT -DPIC -o .libs/socket-io.lo
+socket-io.c: In function 
+`ves_icall_System_Net_Sockets_Socket_Socket_internal':
+socket-io.c:521: warning: passing arg 4 of `setsockopt' from incompatible 
+pointer type
+socket-io.c: In function 
+`ves_icall_System_Net_Sockets_Socket_Available_internal':
+socket-io.c:562: warning: passing arg 3 of `ioctlsocket' from 
+incompatible pointer type
+socket-io.c: In function 
+`ves_icall_System_Net_Sockets_Socket_Blocking_internal':
+socket-io.c:578: warning: passing arg 3 of `ioctlsocket' from 
+incompatible pointer type
+socket-io.c: In function 
+`ves_icall_System_Net_Sockets_Socket_GetSocketOption_obj_internal':
+socket-io.c:1160: warning: passing arg 4 of `getsockopt' from 
+incompatible pointer type
+socket-io.c:1165: warning: passing arg 4 of `getsockopt' from 
+incompatible pointer type
+socket-io.c: In function `ipaddress_to_struct_in_addr':
+socket-io.c:1240: warning: unused variable `addr'
+socket-io.c: In function 
+`ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal':
+socket-io.c:1282: warning: passing arg 4 of `setsockopt' from 
+incompatible pointer type
+socket-io.c:1296: warning: passing arg 4 of `setsockopt' from 
+incompatible pointer type
+socket-io.c:1306: warning: missing braces around initializer
+socket-io.c:1306: warning: (near initialization for `mreq.imr_multiaddr')
+socket-io.c:1328: `local_address' undeclared (first use in this function)
+socket-io.c:1328: (Each undeclared identifier is reported only once
+socket-io.c:1328: for each function it appears in.)
+socket-io.c:1333: warning: passing arg 4 of `setsockopt' from 
+incompatible pointer type
+socket-io.c:1350: warning: passing arg 4 of `setsockopt' from 
+incompatible pointer type
+make[3]: *** [socket-io.lo] Error 1
+make[3]: Leaving directory `/cygdrive/c/src/mono/mono/mono/metadata'
+make[2]: *** [all-recursive] Error 1
+make[2]: Leaving directory `/cygdrive/c/src/mono/mono/mono'
+make[1]: *** [all-recursive] Error 1
+make[1]: Leaving directory `/cygdrive/c/src/mono/mono'
+make: *** [all-recursive-am] Error 2
+
+Expected Results:
+good make
+
+How often does this happen? 
+always
+
+Additional Information: