2017-04-07 11:15 GMT-03:00 Marco van de Voort <mar...@stack.nl>:
> In our previous episode, African Wild Dog said: > > Which integer types have their size dependent on platform? > > E.g. in Delphi, LongInt can 32 or 64 bits depending on the platform. > > In Delphi they retroactively equated longint to C long, being 32-bit on > 64-bits windows and 64-bit on Linux. The Delphi Linux compiler is btw a > different compiler than windows. > > 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? (Delphi is always 32 bits)
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal