On Wed, 8 May 2019, Graeme Geldenhuys wrote:
Hi, https://www.freepascal.org/docs-html/rtl/sysutils/longrec.html I'm referring to the documentation shown in the URL above. As far as I know the fpdoc is sensitive to which platform it is running on (unless explicitly told otherwise), and will generate documentation according to that platform. Please correct me if I am wrong, but this was my personal experience with fpdoc. Anyway, as far as I know the FPC documentation is normally generated on a Linux system with 64-bit Intel type CPU. If so, that means the documentation shown above has the Hi, Lo fields in the wrong order. Showing Big Endian instead of Little Endian (what Intel desktop CPU's are).
The defines need to be added to the fpdoc command-line. I will add FPC_LITTLE_ENDIAN to the list of defines. Can you please create a bugreport so I will not forget ? Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal