The documenation in

http://www.freepascal.org/docs-html/rtl/system/sizeint.html

says:
-----------------------


 SizeInt

Signed integer type which fits for sizes


   Declaration

Source position: systemh.inc line 251

type SizeInt= LongInt 
<http://www.freepascal.org/docs-html/rtl/system/longint.html>;

-----------------------

which seems to be wrong. In Systemh.inc it is declared

-----------------------
{$ifdef CPU64}
  SizeInt = Int64;
{$endif CPU64}

{$ifdef CPU32}
  SizeInt = Longint;
{$endif CPU32}

{$ifdef CPU16}
  SizeInt = Integer;
{$endif CPU16}
-----------------------

but the documentation says that it is always Longint.
Can someone please correct this as it causes a lot of confusion.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to