Hans and all (especially smf),

I've discovered a nasty little glitch with the b4.1 snapshot in the new wip 
src/cpu/mips/mips.c file when compiling on Irix.  Here's the code snippet:

typedef struct
{
        UINT32 op;
        UINT32 pc;
        UINT32 nextop;
        UINT32 nextpc;
        UINT32 irq;
        UINT32 hi;
        UINT32 lo;
        UINT32 r[ 32 ];
        UINT32 cp0r[ 32 ];
} mips_cpu_context;

mips_cpu_context mips;


The problem is in defining a structure named mips. mips is a reserved name
in Irix
and is defined as type int.  A simple fix is to rename the structure to
another name,
such as mipsx or something (and change all corresponding references the the
mips
structure in mips.c).  Without this change b4.1 cannot be compiled on Irix.
Thanks.


---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to