[fpc-pascal] Working with anonymous functions

2023-03-10 Thread Thomas Kurz via fpc-pascal
Dear all, I'm testing FPC-trunk and I'm especially interested in using anonymous functions because they should simplify working with TThread.Synchronize and others a lot. I stumbled upon an issue which I'd like to post here first because I am not sure whether it's a bug or just a wrong usage o

Re: [fpc-pascal] Lack of PIC code support for m68k CPU (was: FPC crashes with Internal error 200502052 compiling shared library on m68k)

2023-03-10 Thread Karoly Balogh via fpc-pascal
Hi, On Fri, 10 Mar 2023, Peter B via fpc-pascal wrote: > Thanks for your interest in this Charlie. > > Just requesting that maybe any more thoughts on this subject could go to the > bug report? > > https://gitlab.com/freepascal.org/fpc/source/-/issues/40177 > > As this thread will probably be los

Re: [fpc-pascal] Lack of PIC code support for m68k CPU (was: FPC crashes with Internal error 200502052 compiling shared library on m68k)

2023-03-10 Thread Peter B via fpc-pascal
Thanks for your interest in this Charlie. Just requesting that maybe any more thoughts on this subject could go to the bug report? https://gitlab.com/freepascal.org/fpc/source/-/issues/40177 As this thread will probably be lost in the mists of time, but the bug report should stay open till fix

Re: [fpc-pascal] Lack of PIC code support for m68k CPU (was: FPC crashes with Internal error 200502052 compiling shared library on m68k)

2023-03-10 Thread Karoly Balogh via fpc-pascal
Hi, On Thu, 9 Mar 2023, Peter B via fpc-pascal wrote: > Note, I have raised a bug report for this crash now. > https://gitlab.com/freepascal.org/fpc/source/-/issues/40177 Thanks for this. > Given that -fpic is unsupported on m68k, perhaps the compiler could > abort an attempted -fpic compilatio