Hello,

cppunit stopped building, claiming that it can't find isfinite(). Can anyone confirm this? If so, adding the attached patch file to the port will correct the problem.

Kind regards,
  Markus
$OpenBSD$
--- include/cppunit/portability/FloatingPoint.h.orig    Sat Jan 17 14:20:16 2009
+++ include/cppunit/portability/FloatingPoint.h Sat Jan 17 14:20:36 2009
@@ -38,7 +38,7 @@ inline bool floatingPointIsUnordered( double x )
 inline int floatingPointIsFinite( double x )
 {
 #if defined(CPPUNIT_HAVE_ISFINITE)
-   return isfinite( x );
+   return std::isfinite( x );
 #elif defined(CPPUNIT_HAVE_FINITE)
    return finite( x );
 #elif defined(CPPUNIT_HAVE__FINITE)

Reply via email to