[fpc-devel] Issue with TBits.OpenBit

Sergei Gorelkin sergei_gorelkin at mail.ru
Fri May 23 17:27:18 CEST 2008


Michael Van Canneyt wrote:
> 
> 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.
> 
Ok, then this one is a false alarm.

Sergei



More information about the fpc-devel mailing list