And more MCVS warnings
This commit is contained in:
parent
e0f4cf0561
commit
928636135b
|
@ -44,13 +44,12 @@
|
||||||
namespace testing {
|
namespace testing {
|
||||||
|
|
||||||
// The macros trigger warning C4100 (unreferenced formal
|
// The macros trigger warning C4100 (unreferenced formal
|
||||||
// parameter) in MSVC with -W4. Unfortunately they cannot be fixed in
|
// parameter) in MSVC with -W4.
|
||||||
// the macro definition, as the warnings are generated when the macro
|
|
||||||
// is expanded and macro expansion cannot contain #pragma. Therefore
|
|
||||||
// we suppress them here.
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# pragma warning(push)
|
|
||||||
# pragma warning(disable:4100)
|
# pragma warning(disable:4100)
|
||||||
|
#if (_MSC_VER == 1900)
|
||||||
|
# pragma warning(disable:4800)
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Defines a matcher that matches an empty container. The container must
|
// Defines a matcher that matches an empty container. The container must
|
||||||
|
|
Loading…
Reference in New Issue
Block a user