[MacPorts] #69124: openjdk8 @8u372_2+release+zero: error: use of undeclared identifier 'finite'; did you mean 'isfinite'?

MacPorts noreply at macports.org
Wed Jan 17 21:50:09 UTC 2024


#69124: openjdk8 @8u372_2+release+zero: error: use of undeclared identifier
'finite'; did you mean 'isfinite'?
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  usersxx
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  openjdk8
------------------------+----------------------
 https://build.macports.org/builders/ports-
 13_arm64-builder/builds/48202/steps/install-port/logs/stdio
 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_java_openjdk8/openjdk8/work
 /jdk8u-
 jdk8u372-ga/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:252:59:
 error: use of undeclared identifier 'finite'; did you mean 'isfinite'?
 inline int g_isfinite(jfloat  f)                 { return finite(f); }
                                                           ^~~~~~
                                                           isfinite
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/c++/v1/math.h:453:1:
 note: 'isfinite' declared here
 isfinite(_A1 __lcpp_x) _NOEXCEPT
 ^
 }}}

 `finite` is ancient. It was replaced by `isfinite` in C99.

-- 
Ticket URL: <https://trac.macports.org/ticket/69124>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list