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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 11
    • 11
    • hotspot
    • b03
    • windows
    • Verified

      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.

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

              Created:
              Updated:
              Resolved: