[fpc-pascal] TR: Strange Behaviour of TBits

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Oct 15 11:10:55 CEST 2010


On 14 Oct 2010, at 17:24, Julien Devillers wrote:

> The above code returns 1, 2, 3, 3, 4 while it should return 1, 2, 3,  
> 4, 5.
>
> I Built a TMyBits class using strictly the TBits.inc file from fpc  
> and... the bug does
>
> not appear... !
>
> I'm using lazarus 0.9.28.2 beta and fpc 2.2.4 with linux 64.
>
> Did I miss something ?

Your example works fine with FPC 2.4.0, try upgrading.


Jonas



More information about the fpc-pascal mailing list