RFR: 8356571: Re-enable -Wtype-limits for GCC in LCMS

Sergey Bylokhov serb at openjdk.org
Thu May 8 21:12:32 UTC 2025


The -Wtype-limits warning was previously disabled in the OpenJDK build for LCMS 2.14+ due to upstream issues: https://github.com/openjdk/jdk/pull/11217
The issue was reported to the LCMS project: https://github.com/mm2/Little-CMS/issues/458
It has since been fixed in LCMS 2.17 and integrated into OpenJDK as part of [JDK-8348110](https://bugs.openjdk.org/browse/JDK-8348110).

Now that the issue has been resolved, we can re-enable this warning.

The build works fine on the system where the initial [issue](https://github.com/openjdk/jdk/pull/11217) could be reproduced.

-------------

Commit messages:
 - 8356571: Re-enable -Wtype-limits for GCC in LCMS

Changes: https://git.openjdk.org/jdk/pull/25127/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25127&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8356571
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/25127.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25127/head:pull/25127

PR: https://git.openjdk.org/jdk/pull/25127


More information about the build-dev mailing list