Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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: main
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 (2)

comment:1 by pramsey, 15 years ago

Resolution: fixed
Status: newclosed

Fix committed to trunk at r2601. This needs testing in other operating systems to ensure the autoconf recipe doesn't catch them by mistake.

comment:2 by pramsey, 15 years ago

Fix to the fix committed at r2603.

Note: See TracTickets for help on using tickets.