On Monday 03 January 2005 19:22, Jonas Maebe wrote:
> Delphi does not allow members of records to be used as counters at
> all. We're probably going to do the same thing in the future,
You're already sort of done this. ;-)
(See my second message yesterday "operator overloading broken in
1.9.6?"
From: Jonas Maebe <[EMAIL PROTECTED]>
Subject: Re: [fpc-pascal] Runtime Error 216
Date sent: Mon, 3 Jan 2005 22:03:18 +0100
To: FPC-Pascal users discussions
Send reply to: FPC-Pascal users discussions
&
> 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...
Compile with -Ct -Or
On 3 jan 2005, at 21:18, Bartek wrote:
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
ssage -
From: "Jonas Maebe" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions"
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(s
yes, you're right. after disabling the stack cheking it runs fine.
thanks
- Original Message -
From: "Jonas Maebe" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions"
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
On 3 jan 2005, at 19:36, Bartek wrote:
after installing the new 1.9.6 release i tried to recompile and run my
sdl programs. compilation runs fine ( but i had to restruct the
majority of my for-loops, not beeing allowed to modify the counter
variable ;\ ),
Delphi does not allow members of records
At 19:36 3-1-2005, you wrote:
hi,
after installing the new 1.9.6 release i tried to recompile and run my sdl
programs. compilation runs fine ( but i had to restruct the majority of my
for-loops, not beeing allowed to modify the counter variable ;\ ), but
when i run my programs they all crashed b
hi,
after installing the new 1.9.6 release i tried to recompile and run my sdl
programs. compilation runs fine ( but i had to restruct the majority of my
for-loops, not beeing allowed to modify the counter variable ;\ ), but when
i run my programs they all crashed beacuse of an access violation.
On Mon, 12 Jan 2004, Arne Hanssen wrote:
> I've installed FPC 1.9 on Linux and try to use the oCrt unit.
> It seems like my app crashes on this statement
>
> TitleWin^.FWrite(2,2,TextAttr,1,'Text');
>
> When I try to compile and run the ocrt_demo program which is
> included with FPC, it seem
I've installed FPC 1.9 on Linux and try to use the oCrt unit.
It seems like my app crashes on this statement
TitleWin^.FWrite(2,2,TextAttr,1,'Text');
When I try to compile and run the ocrt_demo program which is
included with FPC, it seems to crash also on such a statement
(its the FWrite method
12 matches
Mail list logo