RFR: JDK-8308288: Fix xlc17 clang warnings in shared code [v2]

Matthias Baesken mbaesken at openjdk.org
Fri May 26 10:47:55 UTC 2023


On Fri, 26 May 2023 10:18:37 GMT, JoKern65 <duke at openjdk.org> wrote:

> src/java.base/share/native/libjli/java.c:2311:22: error: format string is not a string literal [-Werror,-Wformat-nonliteral] vfprintf(stderr, fmt, vl); ^~~

We disable this warning too for clang on all platforms in BUILD_LIBJLI ( DISABLED_WARNINGS_clang := **format-nonlitera**l deprecated-non-prototype, \ ), so I think we should do it the same way for BUILD_LIBJLI_STATIC on AIX.

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

PR Comment: https://git.openjdk.org/jdk/pull/14146#issuecomment-1564193886


More information about the hotspot-dev mailing list