Unverified Commit a3a42514 authored by Robin Lindén's avatar Robin Lindén
Browse files

Define GTEST_DISABLE_MSC_WARNINGS_PUSH/POP for all compilers

parent c43603f2
......@@ -310,6 +310,10 @@
__pragma(warning(disable: warnings))
# define GTEST_DISABLE_MSC_WARNINGS_POP_() \
__pragma(warning(pop))
#else
// Not all compilers are MSVC
# define GTEST_DISABLE_MSC_WARNINGS_PUSH_(warnings)
# define GTEST_DISABLE_MSC_WARNINGS_POP_()
#endif
// Clang on Windows does not understand MSVC's pragma warning.
......
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