RFR: 8292008: Transition the JDK to the common standard of C11 [v2]

Magnus Ihse Bursie ihse at openjdk.org
Tue Aug 30 14:31:48 UTC 2022


> This patch will set C11 as the "language level" for C code in the JDK code base, similar to how we set C++14 for the C++ code.
> 
> At this point, (almost) all our compilers support C11. The "almost" here is the one exception, Visual Studio 2017. I've chosen to keep VS2017 as an accepted compiler, and if that is used, we will still build without C11 as a language level. This is a suboptimal solution however, and I think we should start thinking about removing VS2017 as a supported compiler really soon.
> 
> For further background on the switch to C11, see [JDK-8292008](https://bugs.openjdk.org/browse/JDK-8292008) and [this mail](https://mail.openjdk.org/pipermail/jdk-dev/2022-August/006826.html).
> 
> I have tested this patch with Tier 1-3 in Oracle's internal CI system.

Magnus Ihse Bursie has updated the pull request incrementally with one additional commit since the last revision:

  Fix typo

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10077/files
  - new: https://git.openjdk.org/jdk/pull/10077/files/74aeb0bf..49b05b18

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10077&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10077&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/10077.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10077/head:pull/10077

PR: https://git.openjdk.org/jdk/pull/10077



More information about the build-dev mailing list