D
David Mathog
Since this is OT I will keep it very brief. C code that compiles
cleanly on linux with
gcc -std=c99 -Wall -pedantic -lm -o test test.c
has problems on Solaris 8 (Sparc) with gcc 4.3.3, where it cannot find
the definitions of NAN, FP_NAN, FP_INFINITE, or the prototypes (and
most likely the functions, if some of this wasn't an error that kept
it from getting that far) for fmax, fmin, isinf, isnormal, and round.
Anybody know why this happens, or better yet, how to work around it?
Thanks,
David Mathog
cleanly on linux with
gcc -std=c99 -Wall -pedantic -lm -o test test.c
has problems on Solaris 8 (Sparc) with gcc 4.3.3, where it cannot find
the definitions of NAN, FP_NAN, FP_INFINITE, or the prototypes (and
most likely the functions, if some of this wasn't an error that kept
it from getting that far) for fmax, fmin, isinf, isnormal, and round.
Anybody know why this happens, or better yet, how to work around it?
Thanks,
David Mathog