Skip Menu |

This queue is for tickets about the TryCatch CPAN distribution.

Report information
The Basics
Id: 62154
Status: new
Priority: 0/
Queue: TryCatch

Owner: Nobody in particular
Requestors: taro.nishino [...]

Bug Information
Severity: Normal
Broken in: 1.000003
Fixed in: (no value)

Subject: TryCatch-1.003000 compilation failure
Download (untitled) / with headers
text/plain 287b
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 */

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to