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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 11
    • Affects Version/s: 11
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: