don't know off the top of my head but does the ord() bit segfault without assigning it to anything? like if the function only had writleln(ord())! or does the result:= section segfault using ord() without the pointers?
my guess is it works on linux/mac purely by luck. but i could be wrong.
--
Alexander Grotewohl
http://dcclost.com
Alexander Grotewohl
http://dcclost.com
On Sep 28, 2019 3:21 PM, Ozz Nixon <ozzni...@gmail.com> wrote:
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.
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel