Re: Problem with: Re: [PATCH] Allow usage of union wait for wait() functions and macros

2011-12-08 Thread Christopher Faylor
On Thu, Dec 08, 2011 at 07:42:48AM +0100, Christian Franke wrote: Christopher Faylor wrote: On Thu, Dec 08, 2011 at 12:17:11AM +0100, Christian Franke wrote: Christopher Faylor wrote: ... /usr/local/src/trunk/objdir.withada/./prev-gcc/g++ -B/usr/local/src/trunk/objdir.withada/./prev-gcc/ ...

Re: Problem with: Re: [PATCH] Allow usage of union wait for wait() functions and macros

2011-12-08 Thread Christian Franke
Christopher Faylor wrote: On Thu, Dec 08, 2011 at 07:42:48AM +0100, Christian Franke wrote: Fix: #ifdef __cplusplus +extern C++ { ... inline int __wait_status_to_int(int __status) { } inline int __wait_status_to_int(const union wait__status) { } ... +} #endif I've added that to