RFR: 8314488: Compile the JDK as C++17 [v2]

Andrew Haley aph at openjdk.org
Sat Dec 16 13:04:38 UTC 2023


On Fri, 15 Dec 2023 13:05:32 GMT, Julian Waters <jwaters at openjdk.org> wrote:

>> The keyword also happens to go in the same location as well. How coincidental...
>
> I also realized that this uses a gcc statement expression currently, I wonder if this could use a lambda expression instead in another change?

That's the standard idiom for accessing CSR, as used in libc and elsewhere. I think that avoiding divergence with such other sources is probably more important than some notion of standard purity.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14988#discussion_r1428804231


More information about the build-dev mailing list