Re: [fpc-devel] Issue with TBits.OpenBit
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. Vincent ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Issue with TBits.OpenBit
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). Regards, - Graeme - ___ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Issue with TBits.OpenBit
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. Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Issue with TBits.OpenBit
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 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel