[fpc-pascal] Platform Dependent Integer Types

Marco van de Voort marcov at stack.nl
Fri Apr 7 17:07:47 CEST 2017


In our previous episode, African Wild Dog said:
> > On FPC it is always 32-bit. Ptrint and ptruint scale with pointer size, and
> > integer depends on compilation mode, 16 or 32-bit.
> >
> So, is the size of  "Integer" type dependent on the compilation mode?

Yes.

> (Delphi is always 32 bits)

In objfpc and delphi modes it is 32-bit, in more TP oriented modes it is
16-bit as it was in TP.



More information about the fpc-pascal mailing list