------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2006-04-27 01:16 ------- Subject: Re: natSystemProperties.cc:213: error: 'getpwuid_r' was not declared in this scope
> Hmmm, the manpage says this function is obsolete. It looks like > '_REENTRANT' and '_PTHREADS_DRAFT4' both need to be defined to get > the proto. Defining _PTHREADS_DRAFT4 isn't compatible with using posix threads: # less /usr/include/pthread.h #ifndef _PTHREAD_INCLUDED /* allows multiple inclusion */ #define _PTHREAD_INCLUDED #ifdef _PTHREADS_DRAFT4 # include <dce/pthread.h> #else # include <sys/pthread.h> #endif Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27330