[Bug c++/50423] error: ‘getpid’ was not declared in this scope

2011-09-16 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50423 --- Comment #4 from Jonathan Wakely 2011-09-16 09:34:31 UTC --- As documented at http://gcc.gnu.org/gcc-4.7/changes.html "Avoid polluting the global namespace by inclusion of ."

[Bug c++/50423] error: ‘getpid’ was not declared in this scope

2011-09-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50423 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/50423] error: ‘getpid’ was not declared in this scope

2011-09-15 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50423 --- Comment #2 from Jack Howarth 2011-09-15 17:57:45 UTC --- Note that -fpermissive doesn't eliminate the regression.

[Bug c++/50423] error: ‘getpid’ was not declared in this scope

2011-09-15 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50423 --- Comment #1 from Jack Howarth 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.i