|
From: Ethan M. <merritt@u.washington.edu> - 2010-09-29 17:34:07
|
On Tuesday 28 September 2010 09:58:57 pm Tatsuro MATSUOKA wrote: > Oops! Djgpp version seems not to support NaN > > The same error occurred in gnuplot 4.5 cvs. > But this might be the limitation djgpp environments. > At the moment, in my opnion, it is better to ignore this issue and consider the treatment in the cvs > release. If you change the configuration file config.dj2 does it build properly? %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --- config.dj2.old 2010-09-29 10:21:42.000000000 -0700 +++ config.dj2 2010-09-29 10:22:06.000000000 -0700 @@ -142,7 +142,7 @@ #endif /* Define to 1 if you have the `isnan' function. */ -/* #undef HAVE_ISNAN */ +#define HAVE_ISNAN /* Define if you use have kpsexpand (TeX). */ /* #undef HAVE_KPSEXPAND */ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% I think this should work, because I now see that there is a call to isnan() in datafile.c that is not protected by #ifdef HAVE_ISNAN. So if djpp can compile datafile.c, then it must support isnan(). However, I am not certain that the variable NaN will be properly initialized. So please check the output of "print NaN" after building. Ethan -- Ethan A Merritt Biomolecular Structure Center, K-428 Health Sciences Bldg University of Washington, Seattle 98195-7742 |