RFR: JDK-8308288: Fix xlc17 clang warnings in shared code
Matthias Baesken
mbaesken at openjdk.org
Thu May 25 12:57:55 UTC 2023
On Thu, 25 May 2023 09:14:14 GMT, JoKern65 <duke at openjdk.org> wrote:
> When using the new xlc17 compiler (based on a recent clang) to build OpenJDk on AIX , we run into various "warnings as errors".
> Some of those are in shared codebase and could be addressed by small adjustments.
> A lot of those changes are in hotspot, some might be somewhere else in the OpenJDK C/C++ code.
In the macro define checks, you both check macros _AIX and AIX, sometimes this, sometimes that. Might be possible to just use one of the two for consistency, but I am fine with using both as well, leave this up to you.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14146#issuecomment-1562859320
More information about the core-libs-dev
mailing list