From: Gwenole B. <gbe...@ma...> - 2002-09-19 15:13:25
|
On Thu, 19 Sep 2002, Brian Johnson wrote: > - Several of the header files declare routines as "extern inline" or > "PUBLIC inline". The MIPSPro compilers don't like this, but they > are fine with "static inline". (They really don't need "inline" at > all -- they automatically inline code as appropriate.) core.h, > exceptions.h, flags.h, rounding.h The PUBLIC/PRIVATE things are residuals from ancient time when I wanted to actually have C++ methods in the fpu class. Well, I will s/PUBLIC inline/static inline/ everywhere. The other bits should not conflict. > - There are some #includes of "compiler/compemu.h", which doesn't seem > to be in CVS. Removing them doesn't seem to hurt anything. > basilisk_glue.cpp, newcpu.cpp. They are now. cvs update -d :-) > - On IRIX, sizeof(double) == 8 and sizeof(long double) == 16. This > interacts badly with fpu/types.h: it makes types.h define both > USE_LONG_DOUBLE and USE_QUAD_DOUBLE, which leads to multiple > definitions of fpu_extended_shape in fpu/mathlib.h. Turning off > either of the USE_xxx defines doesn't help; I get other errors. OK, I will look again on a sparc host but I am not sure they had native sizeof(long double) == 16. I don't have any mips handy. Anyway, I will try to fool locally. Check cvs soon. Bye, Gwenole. |