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