bin/53870: C++ undeclares standard math functions like isinf()

Bruce M Simpson bms at FreeBSD.org
Mon Jun 14 21:24:34 GMT 2004


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


More information about the freebsd-bugs mailing list