-
Bug
-
Resolution: Fixed
-
P2
-
11
-
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.
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.
- relates to
-
JDK-8197951 Upgrade Gtest due to VS2017 (C4996) std::tr1 namespace and TR1-only machinery deprecation
-
- Closed
-