OpenJDK 11.0.27 on macOS 15: expression is not an integral constant expression
Nils Breunese
breun at macports.org
Sun Apr 20 15:27:46 UTC 2025
Hello,
I created a draft pull request to bump the openjdk11 port to version 11.0.27 (https://github.com/macports/macports-ports/pull/28212), but it looks like this line:
AO_UNUSED_MBZ = (-1)<<13, // options bits reserved for future use.
in src/jdk.pack/share/native/common-unpack/constants.h results in this error on macOS 15:
expression is not an integral constant expression
On macOS 13 and 14 the build succeeds without this error.
I am not too familiar with C++, but does this seem related to a change in macOS 15? Any idea what should be done to fix the build on macOS 15?
Thanks, Nils.
More information about the macports-dev
mailing list