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

VS2017 The non-Standard std::tr1 namespace and TR1-only machinery are deprecated and will be removed

    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

      Compilation warning generated when compiling with VS2017

      Creating support/modules_libs/java.base/server/jvm.dll from 1 file(s)
      gtestMain.cpp
      <directory>\open\test\fmw\gtest\include\gtest/gtest-printers.h(497): error C2220: warning treated as error - no 'object' file generated
      <directory>open\test\fmw\gtest\include\gtest/gtest-printers.h(497): warning C4996: 'std::tr1': warning STL4002: The non-Standard std::tr1 namespace and TR1-only machinery are deprecated and will be REMOVED. You can define _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING to acknowledge that you have received this warning.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lfoltan Lois Foltan
                Reporter:
                lfoltan Lois Foltan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: