[fpc-devel] Windows 32bit - FPC 3.0.4 Gets an Error - but not on Linux or Mac...
Ozz Nixon
ozznixon at gmail.com
Sat Sep 28 22:05:24 CEST 2019
[image: image.png]
Okay, getting better at FPC.EXE debugging... it appears, that 3.0.4 (or
Windows) passing a Const Pointer is handled differently?
* The bottom grey line - shows RES = xD9020, however, the
LapeOrdChar(show's it's 2nd parameter as 0x0 instead of xD9020). I was
originally focusing on Params^[0] - but that is not the error -
Result:Pointer is wrong address - even though the calling convention passed
in the correct address. ** Again, this is only broken on my Windows
compile. I use 2.6.4 on Linux 64bit, and 3.0.4 on Mac (which works) and on
Windows. Same compile options (I compile via CLI).
O.
On Sat, Sep 28, 2019 at 2:21 PM Ozz Nixon <ozznixon at gmail.com> wrote:
> [image: image.png]
>
> When I evaluate the code - it is perfect. However, when I run the code, it
> raises a SIGSEGV - Segmentation fault. Yet, the code runs perfectly on
> Linux 64bit machine, and Mac 32bit.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190928/ec426f66/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7323 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190928/ec426f66/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 10082 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190928/ec426f66/attachment-0003.png>
More information about the fpc-devel
mailing list