This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Feature question
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: "Michael Lovett" <mlovett at morpace dot com>
- Cc: <gcc at gnu dot org>
- Date: 27 Sep 2002 20:42:56 -0700
- Subject: Re: GCC Feature question
- References: <sd94e27f.091@farm_groupwise1_srv.morpace-i.com>
>>>>> "Michael" == Michael Lovett <mlovett@morpace.com> writes:
> Hiya
> Does the current GCC (3.2x) support the try/finally construct?
Before Richard and Uli publicly kick my butt...
That's me. I was supposed to have done this. I have it partially
finished. It's just missing the important bits for passing through
exceptions.
I'll hopefully be finishing this up in the next week or two, but since
we are in code freeze, it won't make it until 3.3.
> We are porting apps to UNIX from Windows but so far can't find a compiler =
> with try/finally. It is such a useful, convenient construct it is hard to =
> imagine structured programming without it.
C or C++? With C++ you can emulate it with constructors, albeit ugly.
> Does anyone know if this is planned for the future if it isn't available =
> now?
Yes it is. Blame me.
(Mr. Procrastinator) Aldy