RFR: 8308308: Update to Visual Studio 2022 version 17.5.0 on Windows

Joeri Sykora sykora at openjdk.org
Thu May 25 18:58:00 UTC 2023


On Sat, 20 May 2023 14:58:40 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> Update the compiler on Windows to Visual Studio 2022 17.5.0. This provides the needed C++20 support for the next WebKit update.
> 
> On Windows, the existing WebKit 615.1 build fails with Visual Studio 2022 17.5.0 -- see [JDK-8303748](https://bugs.openjdk.org/browse/JDK-8303748). The solution for the failure is to compile 615.1 using the C++20 flag for Windows (we will use this flag on all platforms for the next WebKit update). The fix for that bug is necessarily included in this PR, since the two fixes as interdependent.

When building this, I no longer get the compile error that is mentioned in the JBS issue, but instead I get this error:


WTF\Headers\wtf/RefPtr.h(42): error C2027: use of undefined type 'WebCore::Text'
C:\jenkins\workspace\OpenJFX-build-windows-x86_64\repo\modules\javafx.web\src\main\native\Source\WebCore\style\StyleUpdate.h(41): note: see declaration of 'WebCore::Text'


I am using compiler version `14.35.32215` (from VS 2022 17.5.0).

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

PR Comment: https://git.openjdk.org/jfx/pull/1142#issuecomment-1563367313


More information about the openjfx-dev mailing list