This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC: accessing exceptiond from C?
- From: kaih at khms dot westfalen dot de (Kai Henningsen)
- To: gcc at gcc dot gnu dot org
- Date: 30 Mar 2002 13:53:00 +0200
- Subject: GCC: accessing exceptiond from C?
- Comment: Unsolicited commercial mail will incur an US$100 handling fee per received mail.
- Organization: Organisation? Me?! Are you kidding?
Is it currently (that is, in any version in CVS) possible to access the
gcc exception machinery from C (that is, throw and catch exceptions of
some kind), possibly via some builtins and/or libsupc++ routines?
If yes, can I have some pointers, please?
If no, what would be needed for that? How much effort might that be?
I recently had several project ideas where this would be anything from
rather useful to essential. Sure, it's always possible to construct
exceptions around setjmp() (that's what GNUstep does, for example), but
it's rather hard to reasonably integrate that stuff with C without
compiler support - and I'd rather avoid full-blown C++.
MfG Kai