This is the mail archive of the gcc@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]

GCC: accessing exceptiond from C?


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


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