mirror of
https://github.com/google/googletest.git
synced 2025-12-24 04:24:54 +08:00
Fixes the following errors: hash_map(17): error C2338: <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning. [googlemock\gtest\gtest-printers_test.vcxproj] hash_set(17): error C2338: <hash_set> is deprecated and will be REMOVED. Please use <unordered_set>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning. [googlemock\gtest\gtest-printers_test.vcxproj] googletest\test\gtest_catch_exceptions_test_.cc(152): error C2220: warning treated as error - no 'object' file generated googletest\test\gtest_catch_exceptions_test_.cc(152): warning C4297: 'CxxExceptionInDestructorTest::~CxxExceptionInDestructorTest': function assumed not to throw an exception but does googletest\test\gtest_catch_exceptions_test_.cc(152): note: destructor or deallocator has a (possibly implicit) non-throwing exception specification There were already some checks for _MSC_VER in the code, so this commit continues in that vein. |
||
|---|---|---|
| .. | ||
| internal | ||
| gtest_pred_impl.h | ||
| gtest_prod.h | ||
| gtest-death-test.h | ||
| gtest-message.h | ||
| gtest-param-test.h | ||
| gtest-param-test.h.pump | ||
| gtest-printers.h | ||
| gtest-spi.h | ||
| gtest-test-part.h | ||
| gtest-typed-test.h | ||
| gtest.h | ||