This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Simple: Hope it helps


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]