Sven Barth schrieb:

Both are correct. The default size of Integer in FPC is 2 Bytes (16 Bit). Only if you use mode Delphi or ObjFPC the size is 4 Bytes (32 Bit) and there it is indeed introduced by the ObjPas unit which is automatically included by the compiler in these modes.

This is another flaw in the documentation (system), that it is not properly configurable for the actual user environment. The RTL is almost only documented and pre-configured for *nix (include paths...), so that adding the Windows paths can produce strange results.

Of course cross-compilers can be installed on every machine, so that documentation for other platforms and build modes makes sense, to some degree. But when it leads to confusion as mentioned above, the documentation should contain something like your above clarification.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to