Closed end2endzone closed 3 years ago
The solution is to ~~add -DCMAKE_CXX_FLAGS=/D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING
to all projects that uses gtest library.
[...] define _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING
within CMakeLists.txt.
When building on Windows using Visual Studio 2017, the following warnings is displayed whenever a file is including google's test header
gtest-printers.h
:There are multiple warnings which create scrolling blindness. This specific warnings should be disabled since it comes from an external library (googletest).