[fpc-pascal]bug in 1.0.10? sizeof(cmyclass) returns instance size

Peter Vreman peter at freepascal.org
Sun Dec 14 12:26:49 CET 2003


At 00:15 14-12-2003, you wrote:
>Hello, List!
>
>Using ppc386 version 1.0.10, sizeof(cmyclass) returns the size of the
>instance, e. g. 260 when there is one 'string' member, whereas ppc386 version
>1.0.6 returns the expected size of a pointer, 4. Is this a bug, or a
>deliberate change?

It is a bug. It is already fixed in 1.9.0


Peter





More information about the fpc-pascal mailing list