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

VS2017 Complains about UINTPTR_MAX definition in globalDefinitions_VisCPP.hpp

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b03
    • OS:
      windows
    • Verification:
      Verified

      Description

      test_AltHashing.cpp
      <directory>\devkit~1\vs2017~1.0\devkit~1.gz\vc\include\stdint.h(90): error C2220: warning treated as error - no 'object' file generated
      <directory>\devkit~1\vs2017~1.0\devkit~1.gz\vc\include\stdint.h(90): warning C4005: 'UINTPTR_MAX': macro redefinition
      <directory\open\src\hotspot\share\utilities/globalDefinitions_visCPP.hpp(105): note: see previous definition of 'UINTPTR_MAX'
      lib/CompileGtest.gmk:65: recipe for target ..

      logTestFixture.cpp
      <directory>\devkit~1\vs2017~1.0\devkit~1.gz\vc\include\stdint.h(90): error C2220: warning treated as error - no 'object' file generated
      <directory>\devkit~1.gz\vc\include\stdint.h(90): warning C4005: 'UINTPTR_MAX': macro redefinition
      <directory>\open\src\hotspot\share\utilities/globalDefinitions_visCPP.hpp(105): note: see previous definition of 'UINTPTR_MAX'
      lib/CompileGtest.gmk:65: recipe for target

        Attachments

          Activity

            People

            • Assignee:
              kbarrett Kim Barrett
              Reporter:
              lfoltan Lois Foltan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: