Re: [fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-24 Thread Lance Boyle
On May 24, 2005, at 11:31 PM, Marco van de Voort wrote: On May 24, 2005, at 5:31 AM, Jonas Maebe wrote: range checking issues--is range checking off by default? Yes, it is. Add {$r+} at the top of your source to turn it on, or add "-Cr" to the command line options of the compiler. Thanks,

Re: [fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-24 Thread Florian Klaempfl
Lance Boyle wrote: > Well--that's just lovely. How about getting this fixed? What other > surprises should I know about before using FPC? I wonder how you can be suprised, it's perfectly documented: http://www.freepascal.org/docs-html/prog/progsu46.html#x53-510001.1.46 If you didn't use a Borlan

Re: [fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-24 Thread Marco van de Voort
> On May 24, 2005, at 5:31 AM, Jonas Maebe wrote: > >> range checking issues--is range checking off by default? > > > > Yes, it is. Add {$r+} at the top of your source to turn it on, or add > > "-Cr" to the command line options of the compiler. > > Thanks, Jonas. > > Well--that's just lovely. Ho

Re: [fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-24 Thread Lance Boyle
On May 24, 2005, at 1:00 PM, L505 wrote: From the mailing list: http://www.nl.freepascal.org/lists/fpc-pascal/2003-October/006123.html I read a bit about range checking there. Thanks--a good reference to what is apparently a long-standing problem. - Original Message - From: "Lanc

Re: [fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-24 Thread Lance Boyle
On May 24, 2005, at 5:31 AM, Jonas Maebe wrote: On 24 mei 2005, at 13:58, Lance Boyle wrote: As I've indicated in some of the comments, there appears to be some range checking issues--is range checking off by default? Yes, it is. Add {$r+} at the top of your source to turn it on, or add "

Re: [fpc-pascal] SizeOf(File) <> SizeOf(FileRec)

2005-05-24 Thread Tomas Hajny
Date sent: Tue, 24 May 2005 20:03:28 +0200 From: Søren Ager <[EMAIL PROTECTED]> To: FPC-Pascal users discussions Subject:Re: [fpc-pascal] SizeOf(File) <> SizeOf(FileRec) Send reply to: FPC-Pascal users discussions

Re: [fpc-pascal] Compile error

2005-05-24 Thread L505
attn: gnu linux maintainers | apt-get install binutils | apt-get install libc6-devel | In fact, maybe these two packages above should be a -requirement- for the freepascal package in the fpc.rpm and fpc.deb ? What do you think, should this be changed? Currently, at the debian website here is w

Re: [fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-24 Thread L505
>From the mailing list: http://www.nl.freepascal.org/lists/fpc-pascal/2003-October/006123.html I read a bit about range checking there. - Original Message - From: "Lance Boyle" As I've indicated in some of the comments, there appears to be some range checking issues--is range checking

Re: [fpc-pascal] Compile error

2005-05-24 Thread L505
If you don't have binutils installed this can happen. Also in some cases libc6 devel package is required. On Debian I would type apt-get install binutils and then if you get some different errors about lpthread, or you still have issue linking then apt-get install libc6-devel On Suse, I'm no

Re: [fpc-pascal] SizeOf(File) <> SizeOf(FileRec)

2005-05-24 Thread Søren Ager
Tomas Hajny wrote: BTW (just in case you didn't know), one good thing about GDB and the current environment is the possibility of post- mortem debugging in case it crashed completely with a core dump ("core core" in (PM)GDB). I didn't know that - thanks for the tip. I have now compiled and r

Re: [fpc-pascal] Compile error

2005-05-24 Thread Inga Petuhhov
On Tue, 24 May 2005, Neil Kittipalo wrote: > I used to use Turbo Pascal years ago and thought I'd try Free Pascal. > I'm running Suse 9.2, but every time I try to compile or run one of the > demos I get, > Error: Error while linking Under Windows/DOS it means, that previous .exe is running and l

Re: [fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-24 Thread Jonas Maebe
On 24 mei 2005, at 13:58, Lance Boyle wrote: As I've indicated in some of the comments, there appears to be some range checking issues--is range checking off by default? Yes, it is. Add {$r+} at the top of your source to turn it on, or add "-Cr" to the command line options of the compiler.

[fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-24 Thread Lance Boyle
Hi list, I'm playing with FPC 2.0.0 on OS X 10.3.9 using Xcode 1.5. I run the following little program... program dumpmePascal; uses EmptyPlaceHolderUnit; var i : integer; topArray : array[10..13] of real; {debugger doesn't show this array at all--discussed previ

Re: [fpc-pascal] Compile error

2005-05-24 Thread Michael Van Canneyt
On Tue, 24 May 2005, Neil Kittipalo wrote: I used to use Turbo Pascal years ago and thought I'd try Free Pascal. I'm running Suse 9.2, but every time I try to compile or run one of the demos I get, Error: Error while linking We'll need some more verbose error message. If there are no othe

[fpc-pascal] Compile error

2005-05-24 Thread Neil Kittipalo
I used to use Turbo Pascal years ago and thought I'd try Free Pascal. I'm running Suse 9.2, but every time I try to compile or run one of the demos I get, Error: Error while linking Any ideas? Neil ___ fpc-pascal maillist - fpc-pascal@lists.freepas