You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am hitting a small issue when compiling NetCDF 4.8.1 on Windows with mingw32. In essence _FPCLASS_SNAN is not defined on mingw32 but isnan is defined like on Linux/Unix. Instead testing _WIN32 the patch checks for _MSC_VER.
the version of the software with which you are encountering an issue
I am hitting a small issue when compiling NetCDF 4.8.1 on Windows with mingw32. In essence
_FPCLASS_SNAN
is not defined on mingw32 butisnan
is defined like on Linux/Unix. Instead testing_WIN32
the patch checks for_MSC_VER
.NetCDF 4.8.1
OS: Linux x86_64 with cross-compiliation to x86_64-w64-mingw32 (target)
Compiler: x86_64-w64-mingw32-gcc (GCC) 4.8.5
I configure and compile NetCDF to the following option:
The compilation fails with:
This patch solves this issue:
I just made a PR for this issue.
Reference:
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fpclass-fpclassf?view=msvc-170
The text was updated successfully, but these errors were encountered: