You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I work on VS2015,and i want to make some unittest with doctest for my project。
I open doctest.sln with VS2015 and build it after configure doctest with CMake on VS2015, but it compilation failed,it show so maby error messages like below:
update:
doctest build succeed after i built it with VS2022;
so i want to know which version can build with VS2015, because README talk us doctest support VS2015.
Description
I work on VS2015,and i want to make some unittest with doctest for my project。
I open doctest.sln with VS2015 and build it after configure doctest with CMake on VS2015, but it compilation failed,it show so maby error messages like below:
‘’‘
doctest_fwd.h(2194): error C2220: 警告被视为错误 - 没有生成“object”文件
doctest_fwd.h(2194): warning C4668: 没有将“_MSVC_LANG”定义为预处理器宏,用“0”替换“#if/#elif”
doctest.cpp(194): error C2059: 语法错误:“<L_ATTRIBUTE_SPECIFIER>”
doctest.cpp(194): error C2893: 未能使函数模板“void doctest::`anonymous-namespace'::throw_exception(const Ex &)”专用化
s\doctest.cpp(194): note: 用下列模板参数:
s\doctest.cpp(194): note: “Ex=std::logic_error”
’‘’
Steps to reproduce
Extra information
The text was updated successfully, but these errors were encountered: