* Exception handling throw vs. sjthrow
@ 1998-01-26 7:50 Klaus-Georg Adams
1998-01-28 1:54 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: Klaus-Georg Adams @ 1998-01-26 7:50 UTC (permalink / raw)
To: egcs
Hi,
I have remarked that programs compiled with -fsjlj-exceptions can
throw through C functions, while the range table approach can't.
Is there a way to change this (make the normal way more robust)?
On a related note: It was a Major Pain (TM) to get everything
(including libgcc.a and libstdc++.a) compiled with
-fsjlj-exceptions. It had to be done though, otherwise the programs
using EH would dump core at random places in the runtimelibs. Because
of this the compiler option -fsjlj-exceptions is next to useless.
Couldn't this be made a configuration option, ala --enable-sjlj? My
platform is i686-pc-linux-gnulibc1 (I a not familiar with configure,
otherwise I'd have taken a stab at that).
-- kga
-------------------------------------------------------------------------
Klaus-Georg Adams Email: Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Institut f. Anorg. Chemie II Tel: 0721 608 3485
Uni Karlsruhe
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Exception handling throw vs. sjthrow
1998-01-26 7:50 Exception handling throw vs. sjthrow Klaus-Georg Adams
@ 1998-01-28 1:54 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 1998-01-28 1:54 UTC (permalink / raw)
To: Klaus-Georg Adams; +Cc: egcs
Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de> writes:
|> Hi,
|> I have remarked that programs compiled with -fsjlj-exceptions can
|> throw through C functions, while the range table approach can't.
|> Is there a way to change this (make the normal way more robust)?
Compile the C code with -fexceptions.
--
Andreas Schwab "And now for something
schwab@issan.informatik.uni-dortmund.de completely different"
schwab@gnu.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-01-28 1:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-26 7:50 Exception handling throw vs. sjthrow Klaus-Georg Adams
1998-01-28 1:54 ` Andreas Schwab
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).