This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Putting C++ code into gcc front end
On 04-Mar-2003, Tom Tromey <tromey at redhat dot com> wrote:
> For instance, the libgcj verifier assumes it can throw an exception
> from just about anywhere to indicate a failure. Porting this to C
> would mean a major revamp of all the control throw (or the use of
> longjmp, I suppose).
You could use "CXCPT", my C-compatible exception library, which
is a wrapper around either longjmp() or C++ exceptions. See
<http://gcc.gnu.org/ml/gcc/2002-04/msg00000.html>
--
Fergus Henderson <fjh at cs dot mu dot oz dot au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.