RFR: 8325163: Enable -Wpedantic on clang

Magnus Ihse Bursie ihse at openjdk.org
Sun Feb 4 22:55:01 UTC 2024


On Fri, 2 Feb 2024 15:59:56 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> Guess I could work on the gcc counterpart and find a way around the inability to disable -Wpedantic with it in tandem with this change...

I don't think that is possible. The double semicolon rule can only be disabled by disabling pedantic completely. This is not the first time we've run into trouble because gcc do not have fine-grained enough warnings. :( (While clang has always excelled in this area.)

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

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


More information about the core-libs-dev mailing list