Sun's cc compiler complains about dynclasses/matchrange.pmc:
    "matchrange.pmc", line 305: void function cannot return value
The following patch fixes it.

--- parrot-current/dynclasses/matchrange.pmc    Fri Sep 17 00:55:02 2004
+++ parrot-andy/dynclasses/matchrange.pmc       Mon Nov 15 11:04:04 2004
@@ -302,7 +302,7 @@

     void set_integer_keyed (PMC* key, INTVAL value) {
         if (key_type(INTERP, key) == KEY_integer_FLAG) {
-            return SELF.set_integer_keyed_int(PMC_int_val(key), value);
+            SELF.set_integer_keyed_int(PMC_int_val(key), value);
         } else {
             STRING* s = VTABLE_get_string(INTERP, key);
             DYNSELF.set_integer_keyed_str(s, value);

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to