Commit d9f3611a authored by Gennadiy Civil's avatar Gennadiy Civil
Browse files

more MSVC warnings
parent c75b76e2
...@@ -82,6 +82,13 @@ ...@@ -82,6 +82,13 @@
namespace testing { namespace testing {
// Silence C4100 (unreferenced formal parameter) for MSVC
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable:4100)
#endif
// Declares the flags. // Declares the flags.
// This flag temporary enables the disabled tests. // This flag temporary enables the disabled tests.
...@@ -2298,6 +2305,10 @@ bool StaticAssertTypeEq() { ...@@ -2298,6 +2305,10 @@ bool StaticAssertTypeEq() {
// Tries to determine an appropriate directory for the platform. // Tries to determine an appropriate directory for the platform.
GTEST_API_ std::string TempDir(); GTEST_API_ std::string TempDir();
#ifdef _MSC_VER
# pragma warning(pop)
#endif
} // namespace testing } // namespace testing
// Use this function in main() to run all tests. It returns 0 if all // Use this function in main() to run all tests. It returns 0 if all
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment