Bizaare non-constant class sizes.

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Thu May 11 22:17:00 GMT 2000


> I cannot see why this would happen, but I guess the next step is to
> work out member offsets and figure out exactly where things go weird.

GCC 2.95 would (incorrectly) allow that fields of a class are
variable-length arrays. That might cause the problem you see.

Please note that egcs-bugs is an address to report bugs, not one to
ask questions about the compiler.

Regards,
Martin



More information about the Gcc-bugs mailing list