Hello,

some of my perl installations are still threaded, so I just noticed that
there is a compilation error:

gcc -c -Ic -Ilib/Event -D_REENTRANT -I/usr/local/include
-I/opt/gnu/include -O    -DVERSION=\"0.58\" -DXS_VERSION=\"0.58\" -fPIC
-I/usr/local/perl5.005/lib/5.00503/sun4-solaris-thread/CORE  Event.c
c/ev.c: In function `pe_callback_died':
In file included from Event.xs:229:
c/ev.c:167: redeclaration of `thr'
c/ev.c:166: `thr' previously declared here
c/ev.c: In function `pe_event_invoke':
c/ev.c:278: redeclaration of `thr'
c/ev.c:277: `thr' previously declared here
make: *** [Event.o] Error 1

I fixed it by making the "dTHR" statements in the mentioned lines
comments. Tests run successfully, but I'm not familiar with XS so
possibly its better to fix it in the distribution ...

Greetings

                    J. Stenzel

Reply via email to