mirror of
https://git.mirrors.martin98.com/https://github.com/google/googletest.git
synced 2025-09-21 06:43:15 +08:00
Define GTEST_DISABLE_MSC_WARNINGS_PUSH/POP for all compilers
This commit is contained in:
parent
c43603f288
commit
a3a42514f1
@ -310,6 +310,10 @@
|
|||||||
__pragma(warning(disable: warnings))
|
__pragma(warning(disable: warnings))
|
||||||
# define GTEST_DISABLE_MSC_WARNINGS_POP_() \
|
# define GTEST_DISABLE_MSC_WARNINGS_POP_() \
|
||||||
__pragma(warning(pop))
|
__pragma(warning(pop))
|
||||||
|
#else
|
||||||
|
// Not all compilers are MSVC
|
||||||
|
# define GTEST_DISABLE_MSC_WARNINGS_PUSH_(warnings)
|
||||||
|
# define GTEST_DISABLE_MSC_WARNINGS_POP_()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Clang on Windows does not understand MSVC's pragma warning.
|
// Clang on Windows does not understand MSVC's pragma warning.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user