[Monetdb-developers] Compile M4...

Fabian Groffen Fabian.Groffen at cwi.nl
Tue Dec 5 21:41:02 CET 2006


On 05-12-2006 21:36:04 +0100, Romulo Goncalves wrote:
> >% grep -A 2 PTHREAD_MUTEX_INITIALIZER /usr/include/pthread.h 
> >#define PTHREAD_MUTEX_INITIALIZER \
> >  { { 0, 0, 0, 0, 0, 0 } }
> >#ifdef __USE_GNU
> >  
> >
> Nothing because I have:
> /* Mutex initializers.  */
> #define PTHREAD_MUTEX_INITIALIZER \
>   { { 0, } }
> #ifdef __USE_GNU
> 
> Is this the problem?

Yes, because that's what the error message is saying: it expects all
members of the struct to be initialised.  Your initialiser looks pretty
weird to me with that trailing ','.




More information about the developers-list mailing list