# New Ticket Created by Jarkko Hietaniemi # Please include the string: [perl #16283] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=16283 >
Tru64 finds the following objectionable spots from a fresh CVS checkout: cc: Warning: pointer.pmc, line 27: In the initializer for mark_function, the referenced type of the pointer value "pmc->cache.struct_val" is "void", which is not compatible with "function (pointer to struct Parrot_Interp, pointer to void, pointer to struct PMC) returning pointer to struct PMC". (ptrmismatch) PMC* (*mark_function)(struct Parrot_Interp*, void*, PMC *) = pmc->cache.struct_val; ---------------------------------------------------------------------^ cc -std -fprm d -ieee -D_INTRINSICS -DLANGUAGE_C -I./include -DHAS_JIT -DALPHA -o core_ops.o -c core_ops.c cc: Warning: rx.ops, line 192: In this statement, the referenced type of the pointer value "rx_mark" is "function (pointer to struct Parrot_Interp, pointer to void, pointer to struct PMC) returning pointer to struct PMC", which is not compatible with "void". (ptrmismatch) interpreter->ctx.pmc_reg.registers[cur_opcode[1]]->cache.struct_val = rx_mark; --------^ cc: Warning: rx.ops, line 192: In this statement, the referenced type of the pointer value "rx_mark" is "function (pointer to struct Parrot_Interp, pointer to void, pointer to struct PMC) returning pointer to struct PMC", which is not compatible with "void". (ptrmismatch) interpreter->ctx.pmc_reg.registers[cur_opcode[1]]->cache.struct_val = rx_mark; --------^ cc: Warning: rx.ops, line 200: In this statement, the referenced type of the pointer value "rx_mark" is "function (pointer to struct Parrot_Interp, pointer to void, pointer to struct PMC) returning pointer to struct PMC", which is not compatible with "void". (ptrmismatch) interpreter->ctx.pmc_reg.registers[cur_opcode[1]]->cache.struct_val = rx_mark; --------^ -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack Cohen