On Wed, Jan 10, 2001 at 04:34:04PM +0100, alos.it/a.calpini wrote:
> does not compile with Microsoft Visual C++, these are the 
> reported errors:

Thanks. Please try this patch: (or if you don't have "patch" on Windows,
just insert the lines beginning with "+" (but not the "+" itself!) in
the appropriate places.)

--- Generate.xs Fri Jan  5 13:31:21 2001
+++ Generate.xs Wed Jan 10 15:57:35 2001
@@ -90,6 +90,7 @@
 static I32
 op_name_to_num(SV * name)
 {
+    dTHX; /* Deal with threading/AS */
     char *s;
     int i =0;
     if (SvIOK(name) && SvIV(name) >= 0 && SvIV(name) < OP_max)
@@ -218,6 +219,7 @@
 
 static OP * 
 SVtoO(SV* sv) {
+    dTHX;
     if (SvROK(sv)) {
         IV tmp = SvIV((SV*)SvRV(sv));
         return INT2PTR(OP*,tmp);


-- 
How do I type "for i in *.dvi do xdvi i done" in a GUI?
(Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)

Reply via email to