thanks
----- Original Message ----- From: "Jonas Maebe" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions" <fpc-pascal@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@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal