[Mono-list] mono/io-layer/mono-mutex.h Errors in Current Master
Rod
rodney.foley at lumension.com
Wed May 11 16:55:12 EDT 2011
Looks like there are errors in the mono/io-layer/mono-mutex.h file. Below is
the error output from the make. Using Cygwin on Windows 7.
../../mono/io-layer/mono-mutex.h:25: error: parse error before
"pthread_mutex_t"
../../mono/io-layer/mono-mutex.h:25: warning: no semicolon at end of struct
or union
../../mono/io-layer/mono-mutex.h:27: error: parse error before '}' token
../../mono/io-layer/mono-mutex.h:27: warning: type defaults to `int' in
declaration of `mono_once_t'
../../mono/io-layer/mono-mutex.h:27: warning: data definition has no type or
storage class
../../mono/io-layer/mono-mutex.h:31: error: parse error before '*' token
../../mono/io-layer/mono-mutex.h:31: error: parse error before ')' token
../../mono/io-layer/mono-mutex.h:119: error: parse error before
"mono_mutex_t"
../../mono/io-layer/mono-mutex.h:119: warning: type defaults to `int' in
declaration of `mono_mutex_t'
../../mono/io-layer/mono-mutex.h:119: warning: data definition has no type
or storage class
../../mono/io-layer/mono-mutex.h:120: error: parse error before
"mono_mutexattr_t"
../../mono/io-layer/mono-mutex.h:120: warning: type defaults to `int' in
declaration of `mono_mutexattr_t'
../../mono/io-layer/mono-mutex.h:120: warning: data definition has no type
or storage class
../../mono/io-layer/mono-mutex.h:121: error: parse error before
"mono_cond_t"
../../mono/io-layer/mono-mutex.h:121: warning: type defaults to `int' in
declaration of `mono_cond_t'
../../mono/io-layer/mono-mutex.h:121: warning: data definition has no type
or storage class
../../mono/io-layer/mono-mutex.h:158: error: parse error before '*' token
../../mono/io-layer/mono-mutex.h:159: warning: function declaration isn't a
prototype
../../mono/io-layer/mono-mutex.h: In function
`mono_mutex_unlock_in_cleanup':
../../mono/io-layer/mono-mutex.h:160: warning: implicit declaration of
function`pthread_mutex_unlock'
../../mono/io-layer/mono-mutex.h:160: warning: nested extern declaration of
`pthread_mutex_unlock'
../../mono/io-layer/mono-mutex.h:160: error: `mutex' undeclared (first use
in this function)
../../mono/io-layer/mono-mutex.h:160: error: (Each undeclared identifier is
reported only once
../../mono/io-layer/mono-mutex.h:160: error: for each function it appears
in.)
In file included from ../../mono/io-layer/wapi.h:20,
from ../../mono/io-layer/atomic.h:25,
from lock-free-alloc.c:85:
../../mono/io-layer/critical-sections.h: At top level:
../../mono/io-layer/critical-sections.h:25: error: parse error before
"mono_mutex_t"
../../mono/io-layer/critical-sections.h:25: warning: no semicolon at end of
struct or union
In file included from ../../mono/io-layer/wapi.h:25,
from ../../mono/io-layer/atomic.h:25,
from lock-free-alloc.c:85:
../../mono/io-layer/processes.h:172: warning: function declaration isn't a
prototype
../../mono/io-layer/processes.h:182: warning: function declaration isn't a
prototype
make[4]: *** [lock-free-alloc.lo] Error 1
make[4]: Leaving directory `/usr/src/mono-latest/mono/mono/utils'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/mono-latest/mono/mono/utils'
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-tp3515845p3515845.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list