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 need support for VS 2013 and discovered this can be achieved with a few small changes instead of defining DOCTEST_CONFIG_NO_EXCEPTIONS which removes support for REQUIRE
Steps to reproduce
define DOCTEST_THREAD_LOCAL (not documented)
remove [[noreturn]] and noexcept uses from doctest.h
compile with VS 2013
Extra information
I propose defines are implemented for [[noreturn]] and noexcept in the same way as DOCTEST_THREAD_LOCAL is done so VS 2013 (and compilers like it that have partial C++11 support) can be used by simply defining these before including doctest.h
I am willing to submit a pull request if the above approach sounds good.
doctest version: v2.3.6
The text was updated successfully, but these errors were encountered:
Sorry for the late reply - yes, a PR would be good! Make it against the dev branch - make sure to edit doctest.cpp and doctest_fwd.h from the parts folder and trigger a CMake build to re-update the doctest.h single header. I guess it would be something like this:
Description
I need support for VS 2013 and discovered this can be achieved with a few small changes instead of defining DOCTEST_CONFIG_NO_EXCEPTIONS which removes support for REQUIRE
Steps to reproduce
Extra information
I propose defines are implemented for [[noreturn]] and noexcept in the same way as DOCTEST_THREAD_LOCAL is done so VS 2013 (and compilers like it that have partial C++11 support) can be used by simply defining these before including doctest.h
I am willing to submit a pull request if the above approach sounds good.
The text was updated successfully, but these errors were encountered: