This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3433
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, burchard at pobox dot com
- Subject: Re: c++/3433
- From: Paul Burchard <burchard at pobox dot com>
- Date: Thu, 28 Jun 2001 17:47:14 -0700
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3433&database=gcc
Actually, the tree-check failure in my bug report c++/3433 appears to be
due to the array size expression (1), not the the array initializer.
The error does not occur if the size is left implicit, as in:
template<unsigned int Dimension>
struct tensor1 {
static const unsigned int dimension[] = { Dimension };
};
PB