[fpc-pascal] SizeInt documentation
Jürgen Hestermann
juergen.hestermann at gmx.de
Sun Jun 21 15:15:29 CEST 2015
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150621/49e7869d/attachment.html>
More information about the fpc-pascal
mailing list