This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/626: Array in thrown exception object causes g++ to fail
- From: nathan at gcc dot gnu dot org
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 21 Nov 2001 12:56:04 -0000
- Subject: Re: c++/626: Array in thrown exception object causes g++ to fail
- Reply-to: nathan at gcc dot gnu dot org
[Get raw message]
The following reply was made to PR c++/626; it has been noted by GNATS.
From: nathan@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, rgillen@webmd.net
Cc:
Subject: Re: c++/626: Array in thrown exception object causes g++ to fail
Date: 21 Nov 2001 12:52:44 -0000
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