4.50 still fails to compile on 5.8
beefcake:Coro-4.50-5PQPfx root# make
cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -
Wdeclaration-after-statement -I/usr/local/include -O3 -DVERSION=\"4.1\" -
DXS_VERSION=\"4.1\" "-I/usr/local/lib/perl5/5.8.8/darwin-2level/CORE" -DHAVE_MMAP -
DCORO_SJLJ -DCORO_STACKSIZE=16384 -DCORO_STACKGUARD=4 State.c
State.xs:253:1: warning: "PRIO_MAX" redefined
In file included from /usr/include/sys/wait.h:117,
from /usr/include/stdlib.h:65,
from libcoro/coro.c:66,
from State.xs:1:
/usr/include/sys/resource.h:110:1: warning: this is the location of the previous definition
State.xs:258:1: warning: "PRIO_MIN" redefined
/usr/include/sys/resource.h:109:1: warning: this is the location of the previous definition
State.xs: In function 'transfer_check':
State.xs:1136: error: syntax error before 'Perl_croak'
That above corresponds to
#if !PERL_VERSION_ATLEAST (5,10,0)
if (expect_false (PL_lex_state != LEX_NOTPARSING)
croak ("Coro::State::transfer called while parsing, but this is not supported in your perl
version");
#endif
Which is missing a closing paren.