Re: pthread.h macro bug

2004-08-27 Thread Corinna Vinschen
On Aug 27 02:30, Patrick Graebel wrote: Hi! The macros for pthread_cleanup_push/pop are corrupt, so that g++ (version 3.3.3) fails on '}'. Also there seems to be a space too much between macro name and macro opening bracket. $ cat pt.cc EOF #include pthread.h void hdl (void *arg) { }

Re: pthread.h macro bug

2004-08-27 Thread Patrick Graebel
Thanks for giving me a hint! I figured it out: both macros have to be used INSIDE a {} code body in the right order. So the use like a normal function fails. Sorry for this redundant news entry :) -Patrick Corinna Vinschen wrote: On Aug 27 02:30, Patrick Graebel wrote: Hi! The macros for

pthread.h macro bug

2004-08-26 Thread Patrick Graebel
Hi! The macros for pthread_cleanup_push/pop are corrupt, so that g++ (version 3.3.3) fails on '}'. Also there seems to be a space too much between macro name and macro opening bracket. -Patrick -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: