Re: [Plplot-devel] CMake fails to detect NaN for Fortran

2022-11-30 Thread Arjen Markus
Hi Rafael, I overlooked the patch you attached. This is certainly a workaround, but the function isnan (in the guise of myisnan) is called by a single example only. Like I stated, most compilers support the ieee_is_nan standard function nowadays, so I suggest we clean this up more thoroughly.

Re: [Plplot-devel] CMake fails to detect NaN for Fortran

2022-11-30 Thread Arjen Markus
Hi Rafael, Hm, that means that the compiler detects the problem at compile time. As compilers get better all the time, shortcuts like these will fail from time to time. I would have to investigate what the best way is to solve this. (Most compilers support the standard function ieee_is_nan() no

[Plplot-devel] CMake fails to detect NaN for Fortran

2022-11-30 Thread Rafael Laboissière
Dear PLplot developers, When building the plplot package for Debian, using the latest version of gfortran: $ gfortran --version | head -n1 GNU Fortran (Debian 12.2.0-9) 12.2.0 The CMake configuration fails to detect the NaN capability: -- Check if isnan function is available in f