Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #41171] [PATCH] Fix to t/src/compiler.t so Parrot passes tests on Solaris

5 views
Skip to first unread message

Steve Peters

unread,
Jan 3, 2007, 4:03:22 PM1/3/07
to bugs-bi...@rt.perl.org
# New Ticket Created by Steve Peters
# Please include the string: [perl #41171]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41171 >


The Solaris C compiler really dislikes it when returning a value from
a void function. The patch below fixes it.

Steve Peters
st...@fisharerojo.org

--- t/src/compiler.t.old Wed Jan 3 14:19:23 2007
+++ t/src/compiler.t Wed Jan 3 14:19:58 2007
@@ -221,7 +221,6 @@
interp->resume_offset = dest -interp->code->base.data;
/* and go */
Parrot_runcode(interp, argc, argv);
- return NULL;
}

static opcode_t *

0 new messages