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]

Re: try/finally in GNU C


Gabriel Dos Reis <gdr@cs.tamu.edu> writes:

>   while looking into a recent mismatch between GCC-4.x and a C dialect
> EH implemented as setjmp/longjmp, I recalled there was a talk about
> extending GNU C with __try/__finally construct:  
> 
>   http://gcc.gnu.org/ml/gcc-patches/2002-11/msg00239.html
> 
> What happened to that project?  Is it dead for good?

The discussion kind of wandered off, but I'd like to note that I am in
favor of adding __try/__finally as a GNU extension for both C and C++.
It's true, of course, that it's just syntactic sugar which can be
implemented in other ways, but sometimes sugar is sweet.

Ian


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