OSDN Git Service
UnitTests can now compile with C++17
* The GoogleTest framework can disable use of the `std::tr1`
class entirely! This is disabled by specifying
`GTEST_HAS_TR1_TUPLE=0;` in the Preprocessor Definition compilation
property. The UnitTests project does not use TR1 tuples.
* The deprecation warnings are to note features scheduled to be
deimplemented in some future C++ standard (possibly as early as
C++20). They remain valid features in C++17. These warnings
(and the resulting errors) can be removed by specifying
`_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS;` in the Preprocessor
Definition compilation property. This allows us to watch and study how
other projects react to the necessary changes (mostly related to
`std::function_name::_Unchecked_Iterators::`).
* The `GTEST_HAS_TR1_TUPLE=0;` Preprocessor definition is now included
in VS2015 as well, so that both VS2015 and VS2017 are both building
similar software.