Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8320937

support latest VS2022 MSC_VER in abstract_vm_version.cpp

XMLWordPrintable

    • b26
    • generic
    • windows

        The next versions should be recognized:
              #elif _MSC_VER == 1934
                #define HOTSPOT_BUILD_COMPILER "MS VC++ 17.4 (VS2022)"
              #elif _MSC_VER == 1935
                #define HOTSPOT_BUILD_COMPILER "MS VC++ 17.5 (VS2022)"
              #elif _MSC_VER == 1936
                #define HOTSPOT_BUILD_COMPILER "MS VC++ 17.6 (VS2022)"
              #elif _MSC_VER == 1937
                #define HOTSPOT_BUILD_COMPILER "MS VC++ 17.7 (VS2022)"
              #elif _MSC_VER == 1938
                #define HOTSPOT_BUILD_COMPILER "MS VC++ 17.8 (VS2022)"

        As of Nov 28th, 2023, the latest one is Visual Studio 2022 version 17.8.2

        See https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170

        Other links:
        https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes
        https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B

              serb Sergey Bylokhov
              serb Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: