[fpc-pascal] Runtime Error 216

Jonas Maebe jonas at zeus.ugent.be
Mon Jan 3 20:29:16 CET 2005


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





More information about the fpc-pascal mailing list