From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13548 invoked by alias); 21 Nov 2001 12:52:47 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 13499 invoked by uid 61); 21 Nov 2001 12:52:44 -0000 Date: Fri, 16 Nov 2001 23:06:00 -0000 Message-ID: <20011121125244.13498.qmail@sourceware.cygnus.com> To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, rgillen@webmd.net From: nathan@gcc.gnu.org X-Mailer: gnatsweb 2.9.2 Subject: Re: c++/626: Array in thrown exception object causes g++ to fail X-SW-Source: 2001-11/txt/msg00415.txt.bz2 List-Id: Synopsis: Array in thrown exception object causes g++ to fail State-Changed-From-To: analyzed->closed State-Changed-By: nathan State-Changed-When: Wed Nov 21 04:52:43 2001 State-Changed-Why: the diagnostic is correct. An array bound must be an integral constant expression. That can contain static const int objects initialized with a constant expression [5.19] That initializtion must be a the point of declaration (but I can't find the text to support that at the moment) http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=626&database=gcc