[fpc-devel] Re: TBits problem

Andrea Mauri andrea.mauri.75 at gmail.com
Thu Nov 7 09:53:40 CET 2013


Il 06/11/2013 18:41, Tomas Hajny ha scritto:
> Yes, I think so (although I have no clue regarding compatibility with
> Delphi, etc.) - looking at the implementation of OrBits (and also
> XorBits), the calculation which bits should be used is different from
> AndBits (and probably wrong - it checks if the size allocated for the
> current object is sufficient for covering the bits in argument, but it
> does not care about the initialized size of the argument - as long as the
> allocated size is sufficient, it does not crash, but it gives wrong
> results).

BugReport opened as bureportid: 0025289



More information about the fpc-devel mailing list