This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [BUG] int i; float a[i];
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Mathieu Malaterre <mmalater at nycap dot rr dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 16 Sep 2004 04:41:22 +0200
- Subject: Re: [BUG] int i; float a[i];
- Organization: Integrable Solutions
- References: <4148E0A5.1010009@nycap.rr.com>
Mathieu Malaterre <mmalater@nycap.rr.com> writes:
| Hello,
|
| Sorry for the subject but I really can't find any keyword to
| define it. Can somebody please point me to the bug in the bugzilla,
| since I believe this is not valid c++ code:
|
| int foo(int i)
| {
| float a[i]; //Is this valid ?
GCC extension. Try -pedantic.
-- Gaby