RFR: 8325878: Require minimum Clang version 13
Kim Barrett
kbarrett at openjdk.org
Fri Feb 16 04:48:52 UTC 2024
On Thu, 15 Feb 2024 12:45:45 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Unfortunately this will break my workflow on Linux - I use clang to build on Ubuntu 20.04, which is not that old, but it ships with clang 12. This is not a deal breaker, just annoying.
That's unfortunate, but I think the [[noreturn]] issue is very important. Until we have that fix, we can't rely on that
attribute to silence certain warnings. This requires us to continue to insert dead returns or apply other workarounds.
And forgetting to do so (because someone makes a change that works fine with later versions or on other platforms)
will lead to build-breakage JBS issues/PRs just to continue to support older versions of clang. We've already had
several of those.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17862#issuecomment-1947750667
More information about the build-dev
mailing list