http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50423

--- Comment #1 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-09-15 
17:57:08 UTC ---
Attached bzip2 compressed preprocessed source for common/semaphore.cc
reproduces this issue...

[MacPro:~/xplor-nih-2.27/common/bin.Darwin_11_x86_64] howarth% g++-fsf-4.7 -c
semaphore.ii -O3 -ffast-math -funroll-loops -g -fpermissive -DX_MMAP_FLAGS=0
-DFORTRAN_INIT -fno-common -DDARWIN -D_REENTRANT -DNDEBUGsemaphore.cc: In
constructor ‘CDS::Semaphore::Semaphore(bool)’:semaphore.cc:111:30: error:
‘getpid’ was not declared in this scope
semaphore.cc: In destructor ‘CDS::Semaphore::~Semaphore()’:
semaphore.cc:124:36: error: ‘getpid’ was not declared in this scope
semaphore.cc:126:9: warning: deleting ‘void*’ is undefined [enabled by default]

Reply via email to