Opened 10 months ago
Closed 10 months ago
#69124 closed defect (fixed)
openjdk8 @8u372_2+release+zero: error: use of undeclared identifier 'finite'; did you mean 'isfinite'?
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | usersxx |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | openjdk8 |
Description
/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.
Change History (2)
comment:1 Changed 10 months ago by jmroot (Joshua Root)
comment:2 Changed 10 months ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I was kind of hoping this would be fixed in a newer version, but apparently 8u402 still fails this way (see #69120).