develooper Front page | perl.perl5.porters | Postings from January 2001

[patch bug 20010103.019] Re: perl@8269: failure to build on NT4.0.1381 with MSVC (fwd)

Thread Next
From:
Peter Prymmer
Date:
January 4, 2001 13:26
Subject:
[patch bug 20010103.019] Re: perl@8269: failure to build on NT4.0.1381 with MSVC (fwd)
Message ID:
Pine.OSF.4.10.10101041329270.492782-100000@aspara.forte.com


---------- Forwarded message ----------
Date: Thu, 4 Jan 2001 12:20:57 -0800 (PST)
From: Peter Prymmer <pvhp@forte.com>
To: perlbug@perl.com
Subject: [patch bug 20010103.019] Re: perl@8269: failure to build on NT
    4.0.1381 with MSVC


Here is the fix to get the perl@8269 kit to build under MSVC 5 on NT 4
using nmake.  (I have not addressed the signed/unsigned warnings mentioned
in the original report of this problem.  In addition I now note a possible
problem with the nmake win32/Makefile may remain since it appeared that
the build expired after building Errno, but `nmake test` wound up building
the x2p stuff and did report "All tests successful". The Encode extension
is still not built by nmake as previously reported, hence additional work
on the win32/Makefile or a replacement is still warranted but not
included here).

--- perl.8269/toke.c.orig	Thu Jan  4 12:13:29 2001
+++ perl.8269/toke.c	Thu Jan  4 12:14:03 2001
@@ -4115,7 +4115,7 @@
 #endif
 #ifdef PERLIO_LAYERS
 		if (UTF && !IN_BYTE)
-		    PerlIO_apply_layers(PL_rsfp, NULL, ":utf8");
+		    PerlIO_apply_layers(aTHX_ PL_rsfp, NULL, ":utf8");
 #endif
 		PL_rsfp = Nullfp;
 	    }
End of Patch.

Peter Prymmer





Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About