| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| build-aux | ||
| cmake | ||
| docs | ||
| include/gmock | ||
| make | ||
| msvc | ||
| scripts | ||
| src | ||
| test | ||
| CMakeLists.txt | ||
| CONTRIBUTORS | ||
| LICENSE | ||
| Makefile.am | ||
| README.md | ||
| configure.ac |
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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| build-aux | Loading commit data... | |
| cmake | Loading commit data... | |
| docs | Loading commit data... | |
| include/gmock | Loading commit data... | |
| make | Loading commit data... | |
| msvc | Loading commit data... | |
| scripts | Loading commit data... | |
| src | Loading commit data... | |
| test | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| CONTRIBUTORS | Loading commit data... | |
| LICENSE | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| README.md | Loading commit data... | |
| configure.ac | Loading commit data... |