在 2025-12-26 07:08, Pali Rohár 写道:
There is no such constant ExceptionExecuteHandler in WinSDK or WinDDK.And Windows system does not recognize SEH disposition value 4. If some SEH handler returns value 4 then Windows raises a new SEH exception with status code 0xc0000026 (STATUS_INVALID_DISPOSITION). Seems that ExceptionExecuteHandler was added to mingw-w64-header by mistake. So completely remove this value from mingw-w64-header. --- mingw-w64-headers/crt/excpt.h | 1 - 1 file changed, 1 deletion(-) diff --git a/mingw-w64-headers/crt/excpt.h b/mingw-w64-headers/crt/excpt.h index 0ad224a171f5..5559f5bea6ad 100644 --- a/mingw-w64-headers/crt/excpt.h +++ b/mingw-w64-headers/crt/excpt.h @@ -23,7 +23,6 @@ extern "C" { #define ExceptionContinueSearch 1 #define ExceptionNestedException 2 #define ExceptionCollidedUnwind 3 -#define ExceptionExecuteHandler 4#if (defined(_X86_) && !defined(__x86_64))struct _EXCEPTION_RECORD;
I will push this one after the CI passes. This was quite misleading indeed, and it did confuse me once. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
