[Monetdb-developers] Compile M4...

Fabian Groffen Fabian.Groffen at cwi.nl
Tue Dec 5 21:19:25 CET 2006


On 05-12-2006 21:10:05 +0100, Romulo Goncalves wrote:
> Fabian Groffen wrote:
> 
> >On 05-12-2006 20:34:51 +0100, Romulo Goncalves wrote:
> >  
> >
> >>cc1: warnings being treated as errors
> >>/home/Romulo/MonetDB/MonetDB4/MonetDB/src/gdk/gdk_system.mx:224: 
> >>warning: missing initializer
> >>/home/Romulo/MonetDB/MonetDB4/MonetDB/src/gdk/gdk_system.mx:224: 
> >>warning: (near initialization for 'MT_system_lock.__data.__count')
> >>    
> >>
> >
> >[snip]
> >  
> >
> What does it means?

Well...  I grabbed the source myself, and the line says this:

MT_Lock MT_system_lock = PTHREAD_MUTEX_INITIALIZER;

It says it misses some initialiser, so my first guess would be that
PTHREAD_MUTEX_INITIALIZER is empty for you.

> Some lines above I found:
> 
> gdk_export MT_Lock MT_system_lock;
> 
> I do not have any clue.

What does the following command for you?

% grep -A 2 PTHREAD_MUTEX_INITIALIZER /usr/include/pthread.h 
#define PTHREAD_MUTEX_INITIALIZER \
  { { 0, 0, 0, 0, 0, 0 } }
#ifdef __USE_GNU




More information about the developers-list mailing list