[Mono-list] mono/io-layer/mono-mutex.h Errors in Current Master

Rod rodney.foley at lumension.com
Wed May 11 17:31:50 EDT 2011


Thanks Rodrigo!  That got the compile past that error.  

Now I have a new one in threads.c with pthread_t being undeclared. The full
error output is below.


threads.c:3079: warning: unused variable `wapi_desc'
threads.c: In function `dump_thread':
threads.c:3131: error: `pthread_t' undeclared (first use in this function)
threads.c:3131: error: (Each undeclared identifier is reported only once
threads.c:3131: error: for each function it appears in.)
threads.c:3131: error: parse error before "gpointer"
threads.c: In function `mono_thread_push_appdomain_ref':
threads.c:3286: warning: passing arg 1 of `InterlockedCompareExchange' from
incompatible pointer type
threads.c: In function `mono_thread_pop_appdomain_ref':
threads.c:3301: warning: passing arg 1 of `InterlockedCompareExchange' from
incompatible pointer type
threads.c: In function `mono_thread_internal_has_appdomain_ref':
threads.c:3311: warning: passing arg 1 of `InterlockedCompareExchange' from
incompatible pointer type
threads.c: In function `mono_thread_execute_interruption':
threads.c:3981: warning: passing arg 1 of `InterlockedCompareExchange' from
incompatible pointer type
threads.c:3984: warning: passing arg 1 of `InterlockedDecrement' from
incompatible pointer type
threads.c: In function `mono_thread_request_interruption':
threads.c:4050: warning: passing arg 1 of `InterlockedCompareExchange' from
incompatible pointer type
threads.c:4058: warning: passing arg 1 of `InterlockedIncrement' from
incompatible pointer type
threads.c:4068: warning: passing arg 3 of `QueueUserAPC' makes integer from
pointer without a cast
threads.c: In function `mono_thread_resume_interruption':
threads.c:4097: warning: passing arg 1 of `InterlockedCompareExchange' from
incompatible pointer type
threads.c:4099: warning: passing arg 1 of `InterlockedIncrement' from
incompatible pointer type
threads.c: In function `abort_thread_internal':
threads.c:4428: warning: implicit declaration of function
`wapi_interrupt_thread'
threads.c:4428: warning: nested extern declaration of
`wapi_interrupt_thread'
threads.c:4443: warning: passing arg 1 of `InterlockedCompareExchange' from
incompatible pointer type
threads.c:4449: warning: ISO C90 forbids mixed declarations and code
threads.c:4466: warning: passing arg 1 of `InterlockedIncrement' from
incompatible pointer type
threads.c:4468: warning: nested extern declaration of
`wapi_interrupt_thread'
threads.c: In function `transition_to_suspended':
threads.c:4479: error: `pthread_t' undeclared (first use in this function)
threads.c:4479: error: parse error before "gpointer"
threads.c: In function `suspend_thread_internal':
threads.c:4508: warning: passing arg 1 of `InterlockedCompareExchange' from
incompatible pointer type
threads.c:4509: warning: passing arg 1 of `InterlockedIncrement' from
incompatible pointer type
threads.c:4511: warning: nested extern declaration of
`wapi_interrupt_thread'
threads.c: In function `resume_thread_internal':
threads.c:4587: error: `pthread_t' undeclared (first use in this function)
threads.c:4587: error: parse error before "gpointer"
make[3]: *** [libmonoruntime_la-threads.lo] Error 1
make[3]: Leaving directory `/usr/src/mono-latest/mono/mono/metadata'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mono-latest/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mono-latest/mono'
make: *** [all] Error 2


--
View this message in context: http://mono.1490590.n4.nabble.com/mono-io-layer-mono-mutex-h-Errors-in-Current-Master-tp3515845p3515916.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list