#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: | main |
Severity: | Unassigned | Keywords: | |
Cc: |
Description (last modified by )
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 (8)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|---|
Version: | 3.0.3 → svn-trunk |
comment:2 by , 13 years ago
comment:3 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Note that this was broken by r3362
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Should be fixed in r3365 -- test welcome
Note:
See TracTickets
for help on using tickets.
Try this
or
It is very messy indeed.
I would like to see solve it using/as in Boost.Math fpclassify.hpp