From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2982 invoked by alias); 28 Sep 2002 03:43:43 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 2945 invoked from network); 28 Sep 2002 03:43:38 -0000 Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164) by sources.redhat.com with SMTP; 28 Sep 2002 03:43:38 -0000 Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 17v8W2-0003fS-00 for gcc@gnu.org; Fri, 27 Sep 2002 23:43:38 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17v8Vs-0005yO-00 for gcc@gnu.org; Fri, 27 Sep 2002 23:43:37 -0400 Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17v8Vs-0005y9-00 for gcc@gnu.org; Fri, 27 Sep 2002 23:43:28 -0400 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g8S3P8i19707; Fri, 27 Sep 2002 23:25:08 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8S3hQf19050; Fri, 27 Sep 2002 23:43:26 -0400 Received: from localhost.localdomain (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8S3hPJ26711; Fri, 27 Sep 2002 23:43:25 -0400 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id g8S3h1Hg012785; Fri, 27 Sep 2002 20:43:02 -0700 Received: (from aldyh@localhost) by localhost.localdomain (8.12.5/8.12.5/Submit) id g8S3guE9012773; Fri, 27 Sep 2002 20:42:56 -0700 X-Authentication-Warning: localhost.localdomain: aldyh set sender to aldyh@redhat.com using -f To: "Michael Lovett" Cc: Subject: Re: GCC Feature question References: From: Aldy Hernandez Date: Fri, 27 Sep 2002 22:45:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=-4.1 required=5.0 tests=IN_REP_TO,X_AUTH_WARNING version=2.31 X-Spam-Level: X-SW-Source: 2002-09/txt/msg01147.txt.bz2 >>>>> "Michael" == Michael Lovett 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