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

2003-12-14 Thread Peter Vreman
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

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

2003-12-13 Thread Anton Tichawa
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? $: cat top/testsize.pas program testsize;