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
Additional context
On first reading the function throw_and_catch() defined in tests/SelfTest/UsageTests/Misc.tests.cpp is used to test SEH on windows. The section is enabled using CATCH_PLATFORM_WINDOWS which includes MinGW. Maybe disable this section for MinGW?
The text was updated successfully, but these errors were encountered:
MinGW doesn't support `__try` and friends at all, while Clang
only supports it partially, and the test would require some
changes to make it work there. Since this is only a test, we can
afford to keep it MSVC-only.
Closes#2447
MinGW doesn't support `__try` and friends at all, while Clang
only supports it partially, and the test would require some
changes to make it work there. Since this is only a test, we can
afford to keep it MSVC-only.
Closescatchorg#2447
Describe the bug
Error when compiling
UsageTests/Misc.tests.cpp:517:5
with MinGWExpected behavior
Compilation with error.
Reproduction steps
Steps to reproduce the bug.
Using MinGW (tested on Fedora) run the following command inside the
build
directoryPlatform information:
Additional context
On first reading the function
throw_and_catch()
defined intests/SelfTest/UsageTests/Misc.tests.cpp
is used to test SEH on windows. The section is enabled usingCATCH_PLATFORM_WINDOWS
which includes MinGW. Maybe disable this section for MinGW?The text was updated successfully, but these errors were encountered: