c++/626: Array in thrown exception object causes g++ to fail
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Sat Nov 10 16:36:00 GMT 2001
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
More information about the Gcc-bugs
mailing list