This is the mail archive of the
gcc-bugs@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: gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rgillen at webmd dot net
- Date: 21 Nov 2001 12:52:44 -0000
- Subject: Re: c++/626: Array in thrown exception object causes g++ to fail
[Get raw message]
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