[Mono-list] debugger-agent.c wont compile on Win32 EWOULDBLOCK undeclared

Rod rodney.foley at lumension.com
Fri May 13 17:44:20 EDT 2011


Trying to compile Mono in Cygwin for Win32.  Its been broken for over a week,
with forward progress being made. 

Current issue is debugger-agent.c wont compile on Win32 due to EWOULDBLOCK
being undeclared. 

debugger-agent.c output from make: 

debugger-agent.c: In function `finish_agent_init': 
debugger-agent.c:896: warning: passing arg 1 of `InterlockedCompareExchange'
fro 
m incompatible pointer type 
debugger-agent.c: In function `recv_length': 
debugger-agent.c:966: error: `EWOULDBLOCK' undeclared (first use in this
functio 
n) 
debugger-agent.c:966: error: (Each undeclared identifier is reported only
once 
debugger-agent.c:966: error: for each function it appears in.) 
debugger-agent.c: In function `transport_connect': 
debugger-agent.c:1090: warning: char format, different type arg (arg 5) 
debugger-agent.c:1123: warning: passing arg 2 of `getsockname' from
incompatible 
 pointer type 
debugger-agent.c:1142: warning: passing arg 4 of `setsockopt' from
incompatible 
pointer type 
debugger-agent.c: In function `start_debugger_thread': 
debugger-agent.c:1314: warning: passing arg 3 of `mono_create_thread' from
incom 
patible pointer type 
debugger-agent.c: In function `send_packet': 
debugger-agent.c:1469: warning: passing arg 1 of `InterlockedIncrement' from
inc 
ompatible pointer type 
debugger-agent.c: In function `get_objref': 
debugger-agent.c:1601: warning: passing arg 1 of `InterlockedIncrement' from
inc 
ompatible pointer type 
debugger-agent.c: In function `mono_debugger_agent_thread_interrupt': 
debugger-agent.c:2100: warning: passing arg 1 of `InterlockedDecrement' from
inc 
ompatible pointer type 
debugger-agent.c: In function `notify_thread': 
debugger-agent.c:2217: warning: passing arg 1 of `InterlockedIncrement' from
inc 
ompatible pointer type 
debugger-agent.c:2222: warning: passing arg 3 of `QueueUserAPC' makes
integer fr 
om pointer without a cast 
debugger-agent.c: In function `suspend_current': 
debugger-agent.c:2406: warning: unused variable `err' 
debugger-agent.c: In function `compute_frame_info': 
debugger-agent.c:2823: warning: passing arg 1 of `InterlockedIncrement' from
inc 
ompatible pointer type 
debugger-agent.c: In function `start_single_stepping': 
debugger-agent.c:4277: warning: passing arg 1 of `InterlockedIncrement' from
inc 
ompatible pointer type 
debugger-agent.c: In function `stop_single_stepping': 
debugger-agent.c:4301: warning: passing arg 1 of `InterlockedDecrement' from
inc 
ompatible pointer type 
debugger-agent.c: In function `event_commands': 
debugger-agent.c:5751: warning: passing arg 1 of `InterlockedIncrement' from
inc 
ompatible pointer type

--
View this message in context: http://mono.1490590.n4.nabble.com/debugger-agent-c-wont-compile-on-Win32-EWOULDBLOCK-undeclared-tp3521306p3521306.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list