Re: [fpc-pascal] Runtime Error 216

2005-01-03 Thread Vinzent Hoefler
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?"

Re: [fpc-pascal] fpc-x86_64 1.9.6: Missing oldlinux unit

2005-01-03 Thread Marco van de Voort
> > why is there no oldlinux unit in the x86_64 port? I found one in the x386 > version of fpc. Oldlinux is x86 only. It is one of the reasons why it was abandoned. > I need f. e. the GetDate and GetTime functions which were in the linux unit > in fpc 1.0 and have gone to the oldlinux unit no

Re: [fpc-pascal] Runtime Error 216

2005-01-03 Thread Tomas Hajny
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

Re: [fpc-pascal] fpc-x86_64 1.9.6: Missing oldlinux unit

2005-01-03 Thread Florian Klaempfl
Marcus Roeckrath wrote: -BEGIN PGP SIGNED MESSAGE- Hi, why is there no oldlinux unit in the x86_64 port? I found one in the x386 version of fpc. oldlinux is from 1.0.x times and full of i386 specific code and definitions that's why it was named oldlinux :) I need f. e. the GetDate and Ge

[fpc-pascal] fpc-x86_64 1.9.6: Missing oldlinux unit

2005-01-03 Thread Marcus Roeckrath
-BEGIN PGP SIGNED MESSAGE- Hi, why is there no oldlinux unit in the x86_64 port? I found one in the x386 version of fpc. I need f. e. the GetDate and GetTime functions which were in the linux unit in fpc 1.0 and have gone to the oldlinux unit now. - -- Gruss Marcus Marcus Roeckrath

Re: [fpc-pascal] Runtime Error 216

2005-01-03 Thread Peter Vreman
> 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

Re: [fpc-pascal] Runtime Error 216

2005-01-03 Thread Jonas Maebe
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

Re: [fpc-pascal] Runtime Error 216

2005-01-03 Thread Bartek
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 -

Re: [fpc-pascal] Runtime Error 216

2005-01-03 Thread Bartek
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 V

Re: [fpc-pascal] Runtime Error 216

2005-01-03 Thread Jonas Maebe
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

Re: [fpc-pascal] Runtime Error 216

2005-01-03 Thread Jonas Maebe
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

Re: [fpc-pascal] Runtime Error 216

2005-01-03 Thread Peter Vreman
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

[fpc-pascal] Runtime Error 216

2005-01-03 Thread Bartek
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.

Re: [fpc-pascal] Difference between gdbpas and raw gdb

2005-01-03 Thread Peter Vreman
> > I've been using raw gdb, both cygwin and mingw, with fpc without problems. > > What are the differences between gdbpas (that comes with fpc1.9.6) and raw > gdb? Not all users have cygwin or mingw installed. The name gdbpas is from before gdb had pascal support in the default release. _

Re: [fpc-pascal] Operator overloading broken in 1.9.6?

2005-01-03 Thread Vinzent Hoefler
On Monday 03 January 2005 13:33, Peter Vreman wrote: > > operator * (const C : Char; const Len : byte) s : String; [doesn't work anymore] > > There must be at least one complex type record/string/array involved. > Your example is only using 2 ordinal types. At the time that the > expression is par

[fpc-pascal] Difference between gdbpas and raw gdb

2005-01-03 Thread pascalive
I've been using raw gdb, both cygwin and mingw, with fpc without problems. What are the differences between gdbpas (that comes with fpc1.9.6) and raw gdb? Luiz __ Acabe com aquelas janelinhas que pulam na sua tela. AntiPop

Re:[fpc-pascal] FPC 1.9.6 (a.k.a. 2.0.0-RC1) is out

2005-01-03 Thread [EMAIL PROTECTED]
Un grazie italiano al Free Pascal Team! -- Initial Header --- >From : [EMAIL PROTECTED] To : fpc-pascal@lists.freepascal.org,fpc-devel@lists.freepascal.org,fpc-announce@lists.freepascal.org Cc : Date : Sun, 2 Jan 2005 16:16:45 +0100 (CET) Subject : [fpc

Re: [fpc-pascal] Operator overloading broken in 1.9.6?

2005-01-03 Thread Peter Vreman
> Hi, > > just installed 1.9.6 to see if any of our current code will break and > unfortunately I wasn't disappointed. ;-) > > stripped down code: > > -- 8< -- snip -- > unit >StrTools; > > interface > > operator * (const C : Char; const Len : byte) s : String; > > implementation > > operator *

[fpc-pascal] Operator overloading broken in 1.9.6?

2005-01-03 Thread Vinzent Hoefler
Hi, just installed 1.9.6 to see if any of our current code will break and unfortunately I wasn't disappointed. ;-) stripped down code: -- 8< -- snip -- unit StrTools; interface operator * (const C : Char; const Len : byte) s : String; implementation operator * (const C : Char; const Len

[fpc-pascal] Re: [fpc-announce] FPC 1.9.6 (a.k.a. 2.0.0-RC1) is out

2005-01-03 Thread bobmartin
The links to the OS/2 version are incorrect (contain superfluous "short") Bob Martin [EMAIL PROTECTED] wrote the following on 02/01/05 15:16:45: > > Hello, > > The Free Pascal Team is pleased to announce that FPC version 1.9.6 > (or 2.0.0-RC1) is available and ready for download. > > This is