develooper Front page | perl.perl5.porters | Postings from June 2008

[perl #55302] cc_runtime syntax error

Thread Next
From:
Reini Urban via RT
Date:
June 5, 2008 02:00
Subject:
[perl #55302] cc_runtime syntax error
Message ID:
rt-3.6.HEAD-11257-1212613625-313.55302-15-0@perl.org
cc_runtime patch for 5.8.9, 5.10.x and blead.

Syntax error when using B::CC with threads and eval.
This exists for some years. Because we never had B::CC tests.

diff -u cc_runtime.h.orig cc_runtime.h
--- cc_runtime.h.orig   2007-12-18 11:47:07.000000000 +0100
+++ cc_runtime.h        2008-06-04 22:18:26.625000000 +0200
@@ -54,7 +54,7 @@
        switch (ret) {                          \
        case 0:                                 \
            PL_op = ppaddr(aTHX);               \
-           if (PL_op != nxt) CALLRUNOPS();     \
+           if (PL_op != nxt) CALLRUNOPS(aTHX); \
            JMPENV_POP;                         \
            break;                              \
        case 1: JMPENV_POP; JMPENV_JUMP(1);     \
-- 
Reini Urban

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