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: GCC Feature question


>>>>> "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


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