[Monetdb-developers] Compile M4...

Romulo Goncalves R.A.Goncalves at cwi.nl
Tue Dec 5 21:36:04 CET 2006


Fabian Groffen wrote:

>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
>  
>
Nothing because I have:
/* Mutex initializers.  */
#define PTHREAD_MUTEX_INITIALIZER \
  { { 0, } }
#ifdef __USE_GNU

Is this the problem?

Regards,
Romulo

>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Monetdb-developers mailing list
>Monetdb-developers at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/monetdb-developers
>  
>





More information about the developers-list mailing list