Two spots in parrotobject.pmc are apparently trying to return something
from a void function. gcc apparently doesn't mind, but non-gcc compilers
might. This simple patch might help the laudanum (AIX) tinderbox.
--- parrot-current/classes/parrotobject.pmc Sat Apr 3 19:00:05 2004
+++ parrot-andy/classes/parrotobject.pmc Mon Apr 5 09:31:11 2004
@@ -143,11 +143,13 @@
}
void set_attr(INTVAL idx, PMC* value) {
- return Parrot_set_attrib_by_num(interpreter, SELF, idx, value);
+ Parrot_set_attrib_by_num(interpreter, SELF, idx, value);
+ return;
}
void set_attr_str(STRING* idx, PMC* value) {
- return Parrot_set_attrib_by_str(interpreter, SELF, idx, value);
+ Parrot_set_attrib_by_str(interpreter, SELF, idx, value);
+ return;
}
PMC* get_class() {
--
Andy Dougherty [EMAIL PROTECTED]