
Le jeudi 02 juin 2005 à 17:43 -0500, Rene Rivera a écrit :
Rene Rivera wrote:
Guillaume Melquiond wrote:
I had tried to make the library work on this compiler by enabling the C99 mode (header <fenv.h>). But unfortunately it seems the compiler does not define the __USE_ISOC99 macro. Perhaps there is another macro to express this capability, but I was unable to find it (I don't have access to this compiler). Does this compiler support <fenv.h>?
Don't know if it supports fenv specifically, but it does support some C99 features.
I'll go test this now. :-)
OK looked at the code it's not C99 language features that are needed but C99 library features. MSL seems to support fenv.h in both PPC and X86, regardless of whether the C99 language features are used or not (the _option(c99) stuff). So I change the check that was their for C99 to also use that when defined(__MSL__). All the tests now pass.
Thanks. About adding a GCC check because of the GCC asm in the PPC specific file, there is already one in fact. I had already added it, when I learned GCC was no more the only compiler to be available on PPC. I just had forgotten about it. :-) Best regards, Guillaume