From: <no...@so...> - 2002-03-04 21:34:36
|
Bugs item #525603, was opened at 2002-03-05 08:56 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=102435&aid=525603&group_id=2435 Category: gcc Group: None Status: Open Resolution: None Priority: 5 Submitted By: David Gravereaux (davygrvy) Assigned to: Danny Smith (dannysmith) Summary: Structured Exception Handling broken Initial Comment: Although the following compiles cleanly, it doesn't work. #include <windows.h> int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR lpCmdLine, int nCmdShow) { int a, b = 0; __try { a = 666 / b; /* divide by zero */ } __except (EXCEPTION_EXECUTE_HANDLER) { MessageBox(0, "went boom and caught", "", MB_OK); } return 0; } ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2002-03-05 10:34 Message: Logged In: YES user_id=11494 This is not really a bug. It is a compiler feature that has never been implemented in GCC. I believe that members of the ReactOs team are working on patches to GCC to allow SEH. Perhaps you could check on their progess and find out what help they need. Danny ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=102435&aid=525603&group_id=2435 |