This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Exception handling problems with MinGW64 GCC 4.8.0 with SEH


Hi,

Martin Corino wrote:
What we found is that with the win32-seh versions of the compiler we
were not able to catch an exception thrown from within one of the
framework DLLs in the application code using that DLL. I.e. the
following did not work:

That's a known problem - but, unfortunately, no solution has been found, yet.

See also the following problem report http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56742

(If you wonder why you didn't see that PR before: Kai has just filled it, motivated by your email, to make tracking of the issue simpler.)

At least for the test case in the PR, the program works when compiled with -O1 and only fails with higher optimization levels. I don't know whether that would be an option for you.

Tobias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]