Tom Loredo <loredo@...296...> writes:
I'm having trouble building the current CVS version of mpl
on OS X (10.3.9, Python 2.4). [...] numerix=scipy [...]
src/_na_transforms.cpp:493: error: `isnan' undeclared (first use this function)
I'm having the same problem in _nc_transforms.cpp, and I'm building on
OS X 10.4.3, Python 2.4, gcc 4.0, and with -DNUMERIC=1 (no numarray,
no scipy). It seems that the relevant lines in _transforms.cpp were
last modified by astraw on 15-Dec-05.
The following one-line change seems to fix that problem (but the rest
of the build hasn't finished yet). I don't know what this does in
other compilers, but comments in gcc's cmath suggest that the standard
requires isnan to be in the std namespace.
isnan.patch (539 Bytes)
Jouni K Sepp�nen