Error 19970302

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Mon Jun 26 01:02:00 GMT 2000


> I have attempted to make my source file as small as possible, while
> still generating the error.  I have attached the resulting .ii file.  As
> far as I can tell, every line of code is strictly necessary to generate
> the error.

Thanks for your bug report. The mainline compiler (2.96 20000624
(experimental)) says

test.cpp:7: size of member `array' is not constant

so the bug has been fixed. The error message may be somewhat
confusing: the constant value of ArraySize is not known at the point
where it is used - that is the error.

Regards,
Martin


More information about the Gcc-bugs mailing list