[fpc-pascal] Runtime Error 216

Bartek bbartek at gmx.net
Mon Jan 3 21:05:30 CET 2005


yes, you're right. after disabling the stack cheking it runs fine. 

thanks

----- 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