Ticket #270 (closed defect: fixed)
isnan() in combination with <cmath> breaks OS/X build
| Reported by: | pramsey | Owned by: | pramsey |
|---|---|---|---|
| Priority: | major | Milestone: | 3.2.0 |
| Component: | Default | Version: | svn-trunk |
| Severity: | Unassigned | Keywords: | |
| Cc: |
Description
At r2554 an ISNAN macro was sprinkled about the code base. The net effect in building is now this:
../../../source/headers/geos/geom/Coordinate.inl: In member function 'bool geos::geom::Coordinate::isNull() const': ../../../source/headers/geos/geom/Coordinate.inl:46: error: 'isnan' was not declared in this scope
This is a well-known problem with no simple fixes, it will involve some special-case hack-around, probably to ensure ISNAN gets bound to the right place. This thread seems to have most information (read backwards into previous posts)
http://lists.apple.com/archives/xcode-users/2005/May/msg00792.html
Change History
Note: See
TracTickets for help on using
tickets.
