We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doctest will report exceptions even if code exists that uses Windows __try/__except Structured-Exception Handlers.
__try
__except
This test case will report a SIGSEGV even though the crash is handled by SEH:
#ifdef _MSC_VER static void NoCrash() { __try { int* p = 0; *p = 1; } __except (1) { // Caught! } } TEST_CASE("SEH Avoided Crash") { NoCrash(); CHECK(1); } #endif
The text was updated successfully, but these errors were encountered:
Switch to catching unhandled exceptions on Windows Closes #324 (#325)
040fd71
* Switch to catching unhandled exceptions on Windows
@onqtam , shouldn't be this issue closed, since #325 fixed it?
Sorry, something went wrong.
@TheQwertiest It's being kept open since it's still not pushed to master (only in dev)
2f3fd5e
No branches or pull requests
Description
Doctest will report exceptions even if code exists that uses Windows
__try
/__except
Structured-Exception Handlers.Steps to reproduce
This test case will report a SIGSEGV even though the crash is handled by SEH:
Extra information
The text was updated successfully, but these errors were encountered: