On 7/13/07, Andrew Straw <[EMAIL PROTECTED]> wrote:
> I think I figured out and fixed the situation with isnan.
>
> >From http://lists.apple.com/archives/xcode-users/2005/Feb/msg00196.html
>
> >
> > Basically the story is this:
> > isnan() is a C99 extension to standard C.
> > Standard C++ is based on an older standard of C.
> > Hence isnan() is not part of standard C++ and may or may not work.
>
> But std::isnan() is part of standard C++ defined in <cmath>.
>
> Since we use C++ (which numpy doesn't) we can drop our own isnan support
> and use std::isnan(). Which I just did.

We're not out of the woods yet.  On my OS X 10.3 powerbook

src/transforms.cpp: In member function `Py::Object Bbox::update(const
   Py::Tuple&)':
src/transforms.cpp:476: error: `isnan' undeclared in namespace `std'
src/transforms.cpp:476: error: `isnan' undeclared in namespace `std'

John-Hunters-Computer:~/mpl> gcc --version
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to