googletest/googlemock/include/gmock
David Benjamin 8e9297b503 MSVC C5046 warning is unavailable in MSVC 2015.
Per the MSVC documentation the warning is new as of Visual Studio 2017,
version 15.8.
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c5046?view=vs-2019

GTest users building on MSVC 2015 or older versions of 2017 will, when
C4616 is enabled, see a warning like:

[...]gtest-matchers.h(53): error C2220: warning treated as error - no 'object' file generated
[...]gtest-matchers.h(53): warning C4619: #pragma warning: there is no warning number '5046'

Guard the mention of 5046 by an _MSC_VER check. VS2017 15.8 corresponds
to an _MSC_VER of 1915.
https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=vs-2019
2019-04-09 18:13:32 -05:00
..
internal Googletest export 2019-01-17 14:41:08 -05:00
gmock-actions.h Googletest export 2019-04-01 15:05:10 -04:00
gmock-cardinalities.h Googletest export 2018-10-29 13:46:16 -04:00
gmock-function-mocker.h Googletest export 2019-03-01 16:18:17 -05:00
gmock-generated-actions.h Googletest export 2019-03-21 10:42:58 -04:00
gmock-generated-actions.h.pump Googletest export 2019-03-21 10:42:58 -04:00
gmock-generated-function-mockers.h Googletest export 2019-01-08 11:50:56 -05:00
gmock-generated-function-mockers.h.pump Googletest export 2019-01-08 11:50:56 -05:00
gmock-generated-matchers.h Googletest export 2018-12-13 16:00:11 -05:00
gmock-generated-matchers.h.pump Googletest export 2018-12-13 16:00:11 -05:00
gmock-matchers.h MSVC C5046 warning is unavailable in MSVC 2015. 2019-04-09 18:13:32 -05:00
gmock-more-actions.h Googletest export 2019-01-17 14:41:08 -05:00
gmock-more-matchers.h googletest export 2018-08-15 17:15:36 -04:00
gmock-nice-strict.h Googletest export 2018-12-21 11:30:20 -05:00
gmock-spec-builders.h Googletest export 2019-01-22 13:12:13 -05:00
gmock.h Merge pull request #2041 from ciband:chore/fix_library_json 2019-01-23 13:27:16 -05:00