Integrated: 8357193: [VS 2022 17.14] Warning C5287 in debugInit.c: enum type mismatch during build

Sergey Bylokhov serb at openjdk.org
Wed May 21 09:00:56 UTC 2025


On Sun, 18 May 2025 23:44:13 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> This patch suppresses compiler warning C5287 triggered in debugInit.c when building with Visual Studio 2022 version 17.14 (released a few days ago).
> 
> I’m simply disabling the warning to unblock the broken build. This change is intended to be backported to update releases.
> 
> A proper fix (e.g., explicit type cast) may be introduced later if necessary.

This pull request has now been integrated.

Changeset: 5f38d1bb
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5f38d1bb94d008c33c1a7af12c81ee0e15371e13
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8357193: [VS 2022 17.14] Warning C5287 in debugInit.c: enum type mismatch during build

Reviewed-by: sspitsyn

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

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


More information about the serviceability-dev mailing list