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
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to