[fpc-devel] Just need to double check the size of Integer

J. Gareth Moreton gareth at moreton-family.com
Thu Nov 24 14:13:00 CET 2022


Hi everyone,

I just need to double-check something.  Under CPU16, SizeInt and 
SizeUInt are declared as follows:

   SizeInt = Integer;
   SizeUInt = Word;

Is Integer 16-bit in this case? I always thought Integer was defined as 
a signed 32-bit integer under FreePascal.  Or is this a bug with 
rtl/inc/systemh.inc and it should be defined as SmallInt instead?

Kit



More information about the fpc-devel mailing list