[fpc-devel] Issue with TBits.OpenBit
Michael Van Canneyt
michael at freepascal.org
Fri May 23 16:40:25 CEST 2008
On Fri, 23 May 2008, Graeme Geldenhuys wrote:
> Vincent Snijders wrote:
> > Sergei Gorelkin schreef:
> > > 1) Typing: TBitArray (classesh.inc line 308) is declared as array of
> > > Cardinal. It means that on 64-bit platforms it will consist of QWord's.
> > No, cardinal is 32 bits on a 64 bits platform too.
> Is it???
> Free Pascal documentation - Chapter 3 (Types) in table 3.2 says the following.
> Cardinal: either word (2 bytes), longword (4 bytes) or qword (8 bytes).
Unfortunately, that was wrong. It's been corrected.
More information about the fpc-devel