This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14794] New: the following code sould not compile?
- From: "dbs at cmie dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Mar 2004 07:32:06 -0000
- Subject: [Bug c++/14794] New: the following code sould not compile?
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
class ca
{
public:
static const int size;
int some;
int list[size];
double more;
public:
};
unless you change one line to:
static const int size= 20;
--
Summary: the following code sould not compile?
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dbs at cmie dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14794