Ticket #442 (closed defect: fixed)
isfinite not in scope using cmath on os x
| Reported by: | jklowden | Owned by: | strk |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Default | Version: | svn-trunk |
| Severity: | Unassigned | Keywords: | |
| Cc: |
Description (last modified by mloskot) (diff)
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.
Change History
Note: See
TracTickets for help on using
tickets.
