public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34684] New: Cross DLL Exceptions
@ 2008-01-06 9:22 XuHotdogs at gmail dot com
2008-01-06 15:27 ` [Bug target/34684] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: XuHotdogs at gmail dot com @ 2008-01-06 9:22 UTC (permalink / raw)
To: gcc-bugs
Exceptions cannot escape DLL boundaries, that is, when I throw an exception in
one DLL and place a try/catch block in another EXE executable that dynamically
loads the DLL, the exception cannot be catched! Instead, the system issues an
error message and abort.
I noticed that this problem was once fixed in one of the MinGW Project's
releases, but the patch was not merged into GCC's main development sources.
Can anyone tell me what I can do or just fix the problem?
Thanks a lot!
--
Summary: Cross DLL Exceptions
Product: gcc
Version: 4.2.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: XuHotdogs at gmail dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34684
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <bug-34684-4@http.gcc.gnu.org/bugzilla/>]
* [Bug c++/34684] Cross DLL Exceptions
[not found] <bug-34684-4@http.gcc.gnu.org/bugzilla/>
@ 2010-09-24 21:26 ` ktietz at gcc dot gnu.org
0 siblings, 0 replies; 5+ messages in thread
From: ktietz at gcc dot gnu.org @ 2010-09-24 21:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34684
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |ktietz at gcc dot gnu.org
Resolution| |FIXED
--- Comment #4 from Kai Tietz <ktietz at gcc dot gnu.org> 2010-09-24 21:08:50 UTC ---
For gcc version 4.5.x and newer mingw/cygwin targets are supporting shared
version of libgcc and libstdc++ OOTB. By using them (see option
-shared-libgcc/libstdc++) cross-DLL throw/catch is working.
The static variant is still not working. This could be solved by using SEH
unwinding, which isn't a feature of gcc for 32-bit x86 at the moment.
So I close this bug, as there is now a working way to handle this problem
--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-09-24 21:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-06 9:22 [Bug c++/34684] New: Cross DLL Exceptions XuHotdogs at gmail dot com
2008-01-06 15:27 ` [Bug target/34684] " pinskia at gcc dot gnu dot org
2008-01-06 18:14 ` XuHotdogs at gmail dot com
2008-01-09 5:28 ` [Bug c++/34684] " brian at dessent dot net
[not found] <bug-34684-4@http.gcc.gnu.org/bugzilla/>
2010-09-24 21:26 ` ktietz at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).