[fpc-devel] Cardinal = LongWord on 64bit systems?

Michael Van Canneyt michael at freepascal.org
Thu Oct 15 10:48:34 CEST 2009



On Thu, 15 Oct 2009, Graeme Geldenhuys wrote:

> Hi,
>
> Based on the FPC documentation for integer types, is says that a
> Cardinal type can be either word, longword or qword (sizes being 2, 4,
> 8 bytes) based on the platform used.

Where do you see that ? Not in my docs ?

>
> So why on my 64bit system using FPC 2.3.1, Cardinal maps to a
> LongWord. Shouldn't that be QWord for 64bit systems?  Just like
> PtrUint maps to QWord on 64bit platforms, but to LongWord for 32bit
> platforms

Cardinal is always 32-bit ?

Michael.



More information about the fpc-devel mailing list