[fpc-pascal] Suspected Strange Error in FPC

2005-09-15 Thread paul
I have a heads up report which I have to make in this form because it's not repeatable. I am sometimes getting errors that, when I try creating sample programs to repeat them, first I will get a problem, then sometimes if I add comments, all of a sudden the problem vanishes and I get clean compile

[fpc-pascal] Examples of FPC good practice

2005-09-15 Thread paul
I would like to point out some places where I think FPC has done an excellent job of continuing the spirit of what Pascal was and should be: a programming language which provides better "safety" in the creation of computer programs. By "safety" I mean that more potential errors are either prevente

Re: [fpc-pascal] Suspected Strange Error in FPC

2005-09-15 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote: Did you take into care that FPC handles in standard mode nested comments correctly? I.e. { { } is an error while it works for other compilers? FPC expects { { } } (same applies to (* *)). ___ fpc-pascal maillist - fpc-pascal@l

Re: [fpc-pascal] Suspected Strange Error in FPC

2005-09-15 Thread Peter Vreman
> I know this is a bit of a frustrating (pseudo-) bug report, but it's a > frustrating problem which isn't consistent. The problem could also be > that the generated program is exceeding some limit in FPC in different > ways and causing spurious errors as a result. > > I think the next step is to

Re: [fpc-pascal] fpc 2.0 and DOM/xml under OS/2 gives me "Processterminated by SIGSEGV"

2005-09-15 Thread Søren Ager
On 14-09-05 13.47, Tomas Hajny wrote: Well, there are several ways how to do it. Just RTL compilation with debug information is done by running "make debug" in the /rtl/os2 source directory. Thanks - I have done that so now I have a rtl with debug info. There is one error though: sysutils.p

[fpc-pascal] Opening .dta and .key files

2005-09-15 Thread Floris Bos
Hi, I've got a big problem. I've got an old program that's written in Turbo Pascal, I don't know which version. I've only got the compiled executable (.exe file), I haven't got the source code. The program works with a database that consists of .dta and .key files which represent the data tab

Re: [fpc-pascal] fpc 2.0 and DOM/xml under OS/2 gives me "Processterminated by SIGSEGV"

2005-09-15 Thread Tomas Hajny
Date sent: Thu, 15 Sep 2005 18:53:51 +0200 From: Søren Ager <[EMAIL PROTECTED]> To: FPC-Pascal users discussions Subject:Re: [fpc-pascal] fpc 2.0 and DOM/xml under OS/2 gives me "Processterminated by SIGSEGV" Send reply t

Re: [fpc-pascal] Opening .dta and .key files

2005-09-15 Thread Luiz Américo
Floris Bos wrote: Hi, I've got a big problem. I've got an old program that's written in Turbo Pascal, I don't know which version. I've only got the compiled executable (.exe file), I haven't got the source code. The program works with a database that consists of .dta and .key files which repr

re: [fpc-pascal] Suspected Strange Error in FPC

2005-09-15 Thread David Emerson
> [...] first I will get a problem, > then sometimes if I add comments, all of a sudden the problem vanishes > and I get clean compiles that do work. First thing that comes to mind: uninitialized local variables? That's almost always the cause when I have problems that change or vanish with co

Re: [fpc-pascal] Examples of FPC good practice

2005-09-15 Thread Lance Boyle
On Sep 14, 2005, at 11:54 PM, [EMAIL PROTECTED] wrote: a Pascal program that is compiled with run-time checks (which is the default) will not have a buffer overflow problem Er...check that assumption."Some" Pascal compilers default to range- checking off. Lance ___