[jdk11u-dev] RFR: 8336292: [11u] awt_ImagingLib passes arguments to function without a prototype [v2]
Antonio Vieiro
duke at openjdk.org
Thu Sep 5 07:29:41 UTC 2024
> This is a fix to [JDK-8336292](https://bugs.openjdk.org/browse/JDK-8336292): Building 11u on the latest macos-13 GHA platform (XCode 14, clang 14) fails as we are passing arguments to a function without a prototype in awt_ImagingLib.c.
>
> The fix adds disables the `deprecated-non-prototype` when building with clang, for the build to pass.
>
> This is a 11u only issue, as the make infrastructure was reorganized in [JDK-8244044](https://bugs.openjdk.org/browse/JDK-8244044) after OpenJDK 15, and enhanced afterwards. Backporting [JDK-8244044](https://bugs.openjdk.org/browse/JDK-8244044) is an important change that should be avoided unless strictly necessary.
Antonio Vieiro has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.
-------------
Changes:
- all: https://git.openjdk.org/jdk11u-dev/pull/2854/files
- new: https://git.openjdk.org/jdk11u-dev/pull/2854/files/fd7dcc99..fd7dcc99
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2854&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2854&range=00-01
Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/2854.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2854/head:pull/2854
PR: https://git.openjdk.org/jdk11u-dev/pull/2854
More information about the jdk-updates-dev
mailing list