Files
ports/java
Dimitry Andric d2ae63c6fe java/openjdk11: fix build with clang 19
Clang 19 is now more strict about undefined integral expressions used as
constants in enum, which results in errors compiling java/openjdk11,
similar to:

    /wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/jdk.pack/share/native/common-unpack/constants.h:206:33: error: expression is not an integral constant expression
      206 |     AO_UNUSED_MBZ             = (-1)<<13, // options bits reserved for future use.
          |                                 ^~~~~~~~
    /wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/jdk.pack/share/native/common-unpack/constants.h:206:37: note: left shift of negative value -1
      206 |     AO_UNUSED_MBZ             = (-1)<<13, // options bits reserved for future use.
          |                                     ^

Replace the negative value with ~0u to fix this error.

PR:		280560
Approved by:	glewis (maintainer)
MFH:		2024Q3
2024-08-07 18:44:21 +02:00
..
…
…
…
2024-03-28 22:57:02 +03:00
2023-11-01 23:13:06 +01:00
…
2023-11-08 21:43:07 +03:00
2024-02-24 13:29:30 +01:00
…
2023-07-23 20:45:16 +02:00
…
2023-11-08 21:43:07 +03:00
…
2024-02-24 20:25:32 +01:00
2023-04-23 14:16:47 +02:00
2023-04-11 15:46:12 -05:00