RFR: 8247283: Enable the new conformant preprocessor option in Visual Studio

Erik Joelsson erikj at openjdk.org
Wed Aug 31 18:34:08 UTC 2022


On Wed, 31 Aug 2022 15:22:31 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> The new conformant preprocessor has been feature complete since Visual Studio 2019.
> 
> We should start to use it instead of the traditional preprocessor (which is well known to be non-conforming in various ways). This would bring VS-based usage more in line with other platforms in this area, and remove the need for some workarounds for the traditional preprocessor's behavior. 
> 
> This PR is dependent on [JDK-8293162](https://bugs.openjdk.org/browse/JDK-8293162) "Drop support for VS2017" and [JDK-8293088](https://bugs.openjdk.org/browse/JDK-8293088) "Fix compilation with the new Visual Studio preprocessor".

Marked as reviewed by erikj (Reviewer).

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

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



More information about the build-dev mailing list