From: Marcelo M. <mm...@ac...> - 2006-02-10 20:39:31
|
Ok, perl5.005_04 is ok now, the only strange thing is I had to comment this one: /* Fix for old Perls (except 5.005_04...) */ #if !((PATCHLEVEL == 5) && (SUBVERSION == 4)) # ifndef PL_markstack_ptr # define PL_markstack_ptr Perl_markstack_ptr # endif #endif are you sure we need to define it in old perl versions?. perl5.005_04 goes wild with it. Marcelo William S Fulton wrote: > Well, this is missing: > > #define SVf_IVisUV 0x80000000 /* use XPVUV instead of XPVIV */ > > I don't know if we can just add this in and if this flag will actually > work in older versions. I'll experiment later tonight. Maybe someone > knows a good reference for SV and the history of it? > > William > > Marcelo Matus wrote: > >> Assuming the obvious way >> >> #define SvIOK_UV(sv) ((SvFLAGS(sv) & (SVf_IOK|SVf_IVisUV)) \ >> == (SVf_IOK|SVf_IVisUV)) >> >> >> doesn't work, we will need to add a real method to convert the value >> to long >> and then check the sign, I guess... >> >> Marcelo >> >> >> William S Fulton wrote: >> >>> I've made a number of changes to support older versions of Perl. >>> I've tested against 5.004_04. There is just one mod needed then the >>> whole test-suite will compile. That is SvIOK_UV is missing and I >>> can't see an obvious way to support it. Any ideas? >>> >>> William >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. Do you grep through >>> log files >>> for problems? Stop! Download the new AJAX search engine that makes >>> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >>> >>> _______________________________________________ >>> Swig-devel mailing list >>> Swi...@li... >>> https://lists.sourceforge.net/lists/listinfo/swig-devel >> >> >> >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Swig-devel mailing list > Swi...@li... > https://lists.sourceforge.net/lists/listinfo/swig-devel |