[fpc-pascal] Runtime Error 216

Bartek bbartek at gmx.net
Mon Jan 3 21:18:01 CET 2005


i've just recompiled all my programs with all optimization switches disabled 
and all checks disabled, just for curiosity, because you mentioned this 
problem. they are suddenly running perfectly fine. i think the code 
optimization or the checking is somehow broken...

----- Original Message ----- 
From: "Jonas Maebe" <jonas at zeus.ugent.be>
To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
Sent: Monday, January 03, 2005 8:29 PM
Subject: Re: [fpc-pascal] Runtime Error 216


>
> On 3 jan 2005, at 20:19, Peter Vreman wrote:
>
>>> begin
>>> getmem(screen,sizeof(tsdl_surface));
>>> sdl_mustlock(screen);
>>> freemem(screen)
>>> end.
>>
>> It runs fine here.
>>
>> Try the commandline compiler without optimizer
>
> It's not the optimizer, it's register variables in combination with stack
> checking (-Ct -O-r)
>
>
> Jonas
>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>





More information about the fpc-pascal mailing list