Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#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)

comment:1 by strk, 11 years ago

Status: newassigned

Does r3957 work (in trunk) ? When confirmed should be backported to 3.4 branch

in reply to:  1 comment:2 by ixo, 11 years ago

Resolution: fixed
Status: assignedclosed

Replying to strk:

Does r3957 work (in trunk) ? When confirmed should be backported to 3.4 branch

I confirm that revision #3957 works.

Thanks.

comment:3 by strk, 11 years ago

r3958 in 3.4 branch (3.4.3)

comment:4 by strk, 8 years ago

Milestone: 3.4.33.6.1

Ticket retargeted after milestone deleted

Note: See TracTickets for help on using tickets.