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

VS2017 Complains about UINTPTR_MAX definition in globalDefinitions_VisCPP.hpp

    XMLWordPrintable

Details

    • b03
    • windows
    • Verified

    Backports

      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

          Issue Links

            Activity

              People

                kbarrett Kim Barrett
                lfoltan Lois Foltan
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: