Date: Mon, 14 Jun 2004 21:24:30 GMT From: Bruce M Simpson <bms@FreeBSD.org> To: mlelstv@dev.de.cw.net, bms@FreeBSD.org, freebsd-bugs@FreeBSD.org, kan@FreeBSD.org Subject: Re: bin/53870: C++ undeclares standard math functions like isinf() Message-ID: <200406142124.i5ELOUHP045878@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: C++ undeclares standard math functions like isinf() State-Changed-From-To: open->analyzed State-Changed-By: bms State-Changed-When: Mon Jun 14 21:22:26 GMT 2004 State-Changed-Why: Please see the following URL: http://gcc.gnu.org/ml/libstdc++/2003-04/msg00119.html As per above the following hack will work: #include <cmath> void foo() { using namespace std; /* XXX */ double d; isinf(d); } Responsible-Changed-From-To: freebsd-bugs->kan Responsible-Changed-By: bms Responsible-Changed-When: Mon Jun 14 21:22:26 GMT 2004 Responsible-Changed-Why: das@ has been handling some of this, so assign to him. http://www.freebsd.org/cgi/query-pr.cgi?pr=53870
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406142124.i5ELOUHP045878>