Subject: | TryCatch-1.003000 compilation failure |
Hi Ash,
The compilation using MSVC++7.0 ends in failure because of the
violation of the so-called C89 rules that declarations must
precede statements: that is, dVAR;, dSP;, those are declarations.
So, may I ask you a favour? Could you apply attached patch?
Best Regards,
Taro Nishino
Subject: | TryCatch.xs.diff.txt |
--- TryCatch.xs.orig Fri Oct 15 02:45:22 2010
+++ TryCatch.xs Fri Oct 15 02:52:25 2010
@@ -108,13 +108,13 @@
/* The implementation of wantarray op/keyword inside try blocks. */
STATIC OP*
try_wantarray( pTHX_ OP *op, void *user_data ) {
- PERL_UNUSED_VAR(op);
- PERL_UNUSED_VAR(user_data);
-
dVAR;
dSP;
EXTEND(SP, 1);
+ PERL_UNUSED_VAR(op);
+ PERL_UNUSED_VAR(user_data);
+
/* We want the context from the closest subroutine, not from the closest
* block
*/