This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Simple: Hope it helps
- To: ivo dot welch at anderson dot ucla dot edu
- Subject: Re: Simple: Hope it helps
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sun, 12 Mar 2000 08:58:46 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <38C7076E.919DD350@anderson.ucla.edu>
> int tryone() { return 100; }
>
> class WeightDistributionRemember {
> float _w[tryone()+1];
Thanks for your bug report. I've put it into GNATS. Note that the code
is ill-formed; you cannot use a function call in an array size
expression.
Regards,
Martin