On Tue, Dec 21, 1999 at 11:12:04AM +0100, [EMAIL PROTECTED] wrote:
> 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 ...

That sounds fine.  I'm probably not going to touch threads until 5.6 is
released.

-- 
"Never ascribe to malice that which can be explained by stupidity."
                            via, but not speaking for Deutsche Bank

Reply via email to