Skip Menu |

This queue is for tickets about the Coro CPAN distribution.

Report information
The Basics
Id: 34816
Status: resolved
Priority: 0/
Queue: Coro

People
Owner: Nobody in particular
Requestors: dmaki [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 4.49
Fixed in: (no value)



Subject: Compilation problem on perl 5.8
Thanks for Coro! However, Coro 4.49 fails to compile on my perl 5.8.8. I hacked a little patch, but since all I fixed are syntax errors, am not sure this is okay. It would be nice to get a properly blessed version that works on 5.8 ;) --- Coro-4.49/Coro/State.xs 2008-04-07 02:47:38.000000000 +0900 +++ Coro-4.49.hacked/Coro/State.xs 2008-04-10 17:29:34.000000000 +0900 @@ -738,7 +738,7 @@ PL_localizing = 0; PL_dirty = 0; PL_restartop = 0; -#if !PERL_VERSION_ATLEAST (5,10,0) +#if PERL_VERSION_ATLEAST (5,10,0) PL_parser = 0; #endif @@ -1132,7 +1132,7 @@ croak ("Coro::State::transfer called with destroyed next Coro::State, but can only transfer to inactive states"); #if !PERL_VERSION_ATLEAST (5,10,0) - if (expect_false (PL_lex_state != LEX_NOTPARSING) + if (expect_false (PL_lex_state != LEX_NOTPARSING)) croak ("Coro::State::transfer called while parsing, but this is not supported"); #endif }