RFR: 8325163: Enable -Wpedantic on clang

Julian Waters jwaters at openjdk.org
Mon Feb 5 10:20:04 UTC 2024


On Mon, 5 Feb 2024 09:32:09 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> > at least not for a future version applying to gcc builds.
> 
> @kimbarrett @TheShermanTanker Please do not drag gcc into this PR. This is just about clang. Unless gcc makes a serious effort to shape up their inferior warning handling, I don't think we will ever be able to do something similar for gcc.
> 
> But that is not a reason to avoid doing it on clang. In general, we have tried to utilize the strength of every compiler, regardless of if all the other compilers could detect the same problem or not.

Hey, I never said anything about gcc compatibility being a blocker for this changeset :)
(I do have however a couple a questions which are listed above)

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

PR Comment: https://git.openjdk.org/jdk/pull/17687#issuecomment-1926642510


More information about the build-dev mailing list