Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the autobox CPAN distribution.

Report information
The Basics
Id: 33458
Status: resolved
Priority: 0/
Queue: autobox

People
Owner: CHOCOLATE [...] cpan.org
Requestors: taro.nishino [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.02
Fixed in: 2.11



Subject: HV * autobox_bindings
Dear chocolateboy, I reported 1047638 of the cpan-testers about autobox-2.02. Although that was the PASS report, in fact the compilation was failed since my compiler is MS VC++ unsupporting C99. As such, I modified just a little as follows: --- autobox.xs.org Wed Feb 20 14:39:28 2008 +++ autobox.xs Wed Feb 20 14:40:33 2008 @@ -55,6 +55,7 @@ OP* autobox_method_named(pTHX) { SV * const sv = *(PL_stack_base + TOPMARK + 1); + HV * autobox_bindings; /* if autobox is enabled (in scope) for this op and the receiver isn't an object... */ if ((PL_op->op_flags & OPf_SPECIAL) && !(SvOBJECT(SvROK(sv) ? SvRV(sv) : sv))) { @@ -62,7 +63,7 @@ mg_get(sv); /* this is the "bindings hash" that maps datatypes to package names */ - HV * autobox_bindings = (HV *)(PTABLE_fetch(AUTOBOX_OP_MAP, PL_op)); + autobox_bindings = (HV *)(PTABLE_fetch(AUTOBOX_OP_MAP, PL_op)); if (autobox_bindings) { const char * reftype; /* autobox_bindings key */ Regards, Taro Nishino
Thanks, Nishino-san. Hopefully this is fixed in 2.11. Best wishes, chocolateboy. On Wed Feb 20 07:36:11 2008, taro-nishino wrote: Show quoted text
> > Dear chocolateboy, > > I reported 1047638 of the cpan-testers about autobox-2.02. > Although that was the PASS report, in fact the compilation was failed > since my compiler is MS VC++ unsupporting C99. As such, I modified just > a little as follows: > > --- autobox.xs.org Wed Feb 20 14:39:28 2008 > +++ autobox.xs Wed Feb 20 14:40:33 2008 > @@ -55,6 +55,7 @@ > > OP* autobox_method_named(pTHX) { > SV * const sv = *(PL_stack_base + TOPMARK + 1); > + HV * autobox_bindings; > > /* if autobox is enabled (in scope) for this op and the receiver > isn't an object... */ > if ((PL_op->op_flags & OPf_SPECIAL) && !(SvOBJECT(SvROK(sv) ? > SvRV(sv) : sv))) { > @@ -62,7 +63,7 @@ > mg_get(sv); > > /* this is the "bindings hash" that maps datatypes to package > names */ > - HV * autobox_bindings = (HV *)(PTABLE_fetch(AUTOBOX_OP_MAP, > PL_op)); > + autobox_bindings = (HV *)(PTABLE_fetch(AUTOBOX_OP_MAP, PL_op)); > > if (autobox_bindings) { > const char * reftype; /* autobox_bindings key */ > > > Regards, > Taro Nishino