Opened 13 years ago
Last modified 7 years ago
#442 closed defect
isfinite not in scope using cmath on os x — at Initial Version
Reported by: | jklowden | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Default | Version: | main |
Severity: | Unassigned | Keywords: | |
Cc: |
Description
The following patch allows compilation on a modern mac.
Index: src/algorithm/RobustDeterminant.cpp =================================================================== --- src/algorithm/RobustDeterminant.cpp (revision 3364) +++ src/algorithm/RobustDeterminant.cpp (working copy) @@ -23,6 +23,7 @@
#include <geos/util/IllegalArgumentException.h>
#include <cmath>
+using std::isfinite;
#include <geos/platform.h> for ISNAN, FINITE
I know this line was removed a mere 28 hours ago. I'm not sure how platform.h might be changed instead; it's very messy.
Note:
See TracTickets
for help on using tickets.