On Tue, Aug 10, 2004, Robert Anderson wrote: > I downloaded the 2.0.1 release, and got the following compilation > error: > > % make > ./libtool --mode=compile --quiet gcc -c -I. -I.. ../pth_event.c > ../pth_event.c: In function `pth_event': > ../pth_event.c:199: parse error before `*' > ../pth_event.c:199: parse error before `)' > ../pth_event.c: In function `pth_event_extract': > ../pth_event.c:269: parse error before `*' > ../pth_event.c:269: parse error before `)' > make: *** [pth_event.lo] Error 1 > > So, I went back to 1.4.1. Which leads me to my next question, > for which I will start a new thread...
This is caused by some weaker macro parsing behaviour in GCC 2.x and 3.5. With 3.4 it works fine. I've now workaround the parsing problem in GNU Pth 2.0.2 by using pre-declared function pointer type. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ GNU Portable Threads (Pth) http://www.gnu.org/software/pth/ Development Site http://www.ossp.org/pkg/lib/pth/ Distribution Files ftp://ftp.gnu.org/gnu/pth/ Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/ User Support Mailing List [EMAIL PROTECTED] Automated List Manager (Majordomo) [EMAIL PROTECTED]