With these, it at least compiles. Lots of warnings, and a few test
failures. Note that I do not have that much confidence in my lcc
installation. It failed some of its own tests. When I have time, i'll
reinstall and see if I can figure out what's wrong.
Index: classes/perlhash.pmc
===================================================================
RCS file: /home/perlcvs/parrot/classes/perlhash.pmc,v
retrieving revision 1.1
diff -u -r1.1 perlhash.pmc
--- classes/perlhash.pmc 5 Jan 2002 04:55:19 -0000 1.1
+++ classes/perlhash.pmc 6 Jan 2002 17:33:10 -0000
@@ -69,7 +69,7 @@
return (FLOATVAL)size;
}
- INTVAL get_number_index ( INTVAL index ) {
+ FLOATVAL get_number_index ( INTVAL index ) {
KEY* key = SELF->cache.struct_val;
KEY_PAIR* key_pair = key_element_value_i(INTERP,key,index);
return key_pair->cache.int_val;
@@ -91,7 +91,7 @@
return key_pair->cache.struct_val;
}
- STRING* get_string_index_s ( INTVAL index ) {
+ STRING* get_string_index_s ( STRING* index ) {
KEY* key = SELF->cache.struct_val;
KEY_PAIR* key_pair = key_element_value_s(INTERP,key,index);
return key_pair->cache.struct_val;