[Kst] kst on solaris 9

Sam Sirlin sam at kalessin.jpl.nasa.gov
Fri Apr 30 23:55:47 CEST 2004

kst maintainers,

Using gcc 3.3.3 on solaris 9, sparc, kst-0.97, 


I had to get rid of the std: in the isnan definition, and add an
include. Then it compiles fine.  Note isnan() is a function, not a

/* sws add this */
#include <ieeefp.h>

#ifdef isnan
#define KST_ISNAN(a)	isnan(a)
#elif defined(__APPLE__)
#define KST_ISNAN(a)	(a == NAN ? 1 : 0)
/*#define KST_ISNAN(a)	std::isnan(a)*/
/* sws use the function */
#define KST_ISNAN(a)	isnan(a)

Thanks for the nice code.

Sam Sirlin
Email: sam at kalessin.jpl.nasa.gov

More information about the Kst mailing list