Re: Pthread.h issue

2006-07-12 Thread Corinna Vinschen
On Jul 12 10:39, Mark Hadfield wrote: > #if defined (PTHREAD_PRIO_INHERIT) > pthread_mutexattr_getprotocol(m_attr, &protocol); > POUT3(caller, protocol, PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT, > PTHREAD_PRIO_NONE); > #endif > > This expands to valid C code if and only if the macros > PTH

Pthread.h issue

2006-07-11 Thread Mark Hadfield
I am trying to build version 1.0.0 of the CDO (Climate Data Operators) package: http://www.mpimet.mpg.de/fileadmin/software/cdo/ http://www.mpimet.mpg.de/fileadmin/software/cdo/cdo-1.0.0.tar.gz There is a problem with the pthread-related code. The problem can be worked around, but it see