#664 closed defect (fixed)
Unable to find the correct definition of isfinite on HP-UX IA64
Reported by: | ixo | Owned by: | strk |
---|---|---|---|
Priority: | major | Milestone: | 3.6.1 |
Component: | Build/Install | Version: | 3.4.2 |
Severity: | Unassigned | Keywords: | hpux ia64 isfinite |
Cc: |
Description
Building geos on HP-UX 11.23 ia64 failed to find the right declaration for the FINITE / isfinite macro.
Here is the patch to apply to platform.h.in to find the good declaration :
--- include/geos/platform.h.in.orig 2013-08-25 17:10:32.000000000 +0200 +++ include/geos/platform.h.in 2013-09-13 13:26:17.000000000 +0200 @@ -78,6 +78,8 @@ #else # if defined(_MSC_VER) # define FINITE(x) _finite(static_cast<double>(x)) +# elif defined(__hpux__) && defined(__ia64__) + #define FINITE(x) _Isfinite(x) # else # define FINITE(x) (isfinite(x)) # endif
Change History (4)
follow-up: 2 comment:1 by , 11 years ago
Status: | new → assigned |
---|
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Does r3957 work (in trunk) ? When confirmed should be backported to 3.4 branch