[fpc-pascal] Freeing memory with exceptions

Marco van de Voort fpc at pascalprogramming.org
Wed May 24 10:14:15 CEST 2023

On 23-5-2023 12:44, Benito van der Zander via fpc-pascal wrote:
> Hi,
>> Depends on your code. 
> I wrote all my code in Delphi 4. From 1998 or so. I do not make new 
> projects, only maintain old ones.
> Delphi 4 felt much better.
> Like take:
> procedure test;
> var s: string;
> begin
>   s:= 'abc';
> end;

It is weird that your code calls setjmp? Are you using a non Windows 
platform?  Comparisons with Delphi should be done on Windows where the 
exception systems match. Apples to Apples please.

More information about the fpc-pascal mailing list