Skip Menu |

This queue is for tickets about the Class-MOP CPAN distribution.

Report information
The Basics
Id: 48072
Status: resolved
Priority: 0/
Queue: Class-MOP

People
Owner: Nobody in particular
Requestors: taro.nishino [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.90
Fixed in: 0.91



Subject: Compilation failure using MS VC++ 7.0.
Hi Dave, Unfortunately the compilation fails using MS VC++ 7.0. May I ask you a favour? Could you apply the following patch? --- mop.c.orig Wed Jul 22 09:02:45 2009 +++ mop.c Wed Jul 22 09:04:28 2009 @@ -78,6 +78,7 @@ int mop_get_code_info (SV *coderef, char **pkg, char **name) { + GV *gv; if (!SvOK(coderef) || !SvROK(coderef) || SvTYPE(SvRV(coderef)) != SVt_PVCV) { return 0; } @@ -96,7 +97,7 @@ #ifdef isGV_with_GP if ( isGV_with_GP(CvGV(coderef)) ) { #endif - GV *gv = CvGV(coderef); + gv = CvGV(coderef); *pkg = HvNAME( GvSTASH(gv) ? GvSTASH(gv) : CvSTASH(coderef) ); *name = GvNAME( CvGV(coderef) ); #ifdef isGV_with_GP Best regards, Taro Nishino