MIPSPro once more not happy

2001-10-23 Thread Alex Gough
MIPSPro doesn't like us again, the following error means I cannot compile on IRIX (gcc continues to work fine): classes/intclass.c is generated from vtable.tbl by classes/genclass.pl, the offending lines in the generated code are: void Parrot_int_init (void) {

Re: MIPSPro once more not happy

2001-10-23 Thread Simon Cozens
On Tue, Oct 23, 2001 at 02:39:37PM +0100, Alex Gough wrote: Parrot_base_vtables[enum_class_int] = (struct _vtable) { This construct is a little dodgy, but I couldn't think of a better way to do it. Alex, could you try manually hacking it to use a temporary variable, like this: struct

Re: MIPSPro once more not happy

2001-10-23 Thread Alex Gough
On Tue, 23 Oct 2001, Simon Cozens wrote: On Tue, Oct 23, 2001 at 02:39:37PM +0100, Alex Gough wrote: Parrot_base_vtables[enum_class_int] = (struct _vtable) { This construct is a little dodgy, but I couldn't think of a better way to do it. Alex, could you try manually hacking it to use a