Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-18 Thread Mattias Gärtner
Zitat von Marco van de Voort <[EMAIL PROTECTED]>: > In our previous episode, Mattias Gärtner said: > > > > Any progress? > > > > > > IIRC, we once had the idea to feed the compiler an error message file > > > with only error numbers as error "messages" so parsing would be easier. > > > > The error

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-18 Thread Mattias Gärtner
Zitat von Marc Weustink <[EMAIL PROTECTED]>: > Mattias Gaertner wrote: > > On Wed, 13 Aug 2008 23:12:25 +0200 (CEST) > > Daniël Mantione <[EMAIL PROTECTED]> wrote: > > > >> [...] > The text mode IDE can display statisics while compiling. Why can't > Lazarus? > > There is the c

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-18 Thread Marc Weustink
Mattias Gaertner wrote: On Wed, 13 Aug 2008 23:12:25 +0200 (CEST) Daniël Mantione <[EMAIL PROTECTED]> wrote: [...] The text mode IDE can display statisics while compiling. Why can't Lazarus? There is the compiler unit, which *is* available, and this is the only officially supported compiler i

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-14 Thread Florian Klaempfl
Martin Schreiber schrieb: On Thursday 14 August 2008 19.04:27 Florian Klaempfl wrote: Martin Schreiber schrieb: On Thursday 14 August 2008 11.29:40 Florian Klaempfl wrote: Martin Schreiber schrieb: There are no pseudo terminals on win32, I must use pipes. The current 2.0.3 RTL does not flush

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-14 Thread Martin Schreiber
On Thursday 14 August 2008 19.04:27 Florian Klaempfl wrote: > Martin Schreiber schrieb: > > On Thursday 14 August 2008 11.29:40 Florian Klaempfl wrote: > >> Martin Schreiber schrieb: > >>> There are no pseudo terminals on win32, I must use pipes. The current > >>> 2.0.3 RTL does not flush output on

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-14 Thread Florian Klaempfl
Marco van de Voort schrieb: In our previous episode, Martin Schreiber said: Indeed, people complained about the speed when redirecting output to a file. So the answer is: "It is not possible to get flushed writeln and compiler messages on win32 pipes with FPC"? Maybe, (with a custom textio d

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-14 Thread Florian Klaempfl
Martin Schreiber schrieb: On Thursday 14 August 2008 11.29:40 Florian Klaempfl wrote: Martin Schreiber schrieb: There are no pseudo terminals on win32, I must use pipes. The current 2.0.3 RTL does not flush output on writeln if the filehandle is a pipe (2.0.2 does!). So the IDE target console w

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-14 Thread Marco van de Voort
In our previous episode, Martin Schreiber said: > > Indeed, people complained about the speed when redirecting output to a > > file. > > So the answer is: > "It is not possible to get flushed writeln and compiler messages on win32 > pipes with FPC"? Maybe, (with a custom textio driver, so that

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-14 Thread Martin Schreiber
On Thursday 14 August 2008 11.29:40 Florian Klaempfl wrote: > Martin Schreiber schrieb: > > There are no pseudo terminals on win32, I must use pipes. The current > > 2.0.3 RTL does not flush output on writeln if the filehandle is a pipe > > (2.0.2 does!). So the IDE target console window is unusabl

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-14 Thread Florian Klaempfl
Martin Schreiber schrieb: There are no pseudo terminals on win32, I must use pipes. The current 2.0.3 RTL does not flush output on writeln if the filehandle is a pipe (2.0.2 does!). So the IDE target console window is unusable on win32 with FPC 2.0.3 RTL and works OK with FPC 2.0.2 RTL. " ;-)

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-14 Thread Martin Schreiber
On Wednesday 13 August 2008 23.12:25 Daniël Mantione wrote: > > > > Can you give a link? > > http://lists.freepascal.org/lists/fpc-devel/2006-May/007788.html > Hmm, the question remains: " Since some time FPC doesn't flush output on pipes after writeln. On linux I can use a pseudo terminal, what c

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Mattias Gaertner
On Wed, 13 Aug 2008 23:12:25 +0200 (CEST) Daniël Mantione <[EMAIL PROTECTED]> wrote: >[...] > >> The text mode IDE can display statisics while compiling. Why can't > >> Lazarus? > >> > >> There is the compiler unit, which *is* available, and this is the > >> only officially supported compiler inte

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Daniël Mantione
Op Wed, 13 Aug 2008, schreef Vincent Snijders: Because it is a unit: * A crashing compiler would mean a crashing IDE. * A compiler with memory leak would mean a IDE with memory leak. Your point is correct, but the textmode IDE does survive compiler crashes and you can continue development (

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Daniël Mantione
Op Wed, 13 Aug 2008, schreef Mattias Gaertner: On Wed, 13 Aug 2008 21:29:59 +0200 (CEST) Daniël Mantione <[EMAIL PROTECTED]> wrote: Op Wed, 13 Aug 2008, schreef Vincent Snijders: Daniël Mantione schreef: Op Wed, 13 Aug 2008, schreef Vincent Snijders: It easier to change the message pa

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Vincent Snijders
Daniël Mantione schreef: Op Wed, 13 Aug 2008, schreef Vincent Snijders: Daniël Mantione schreef: Op Wed, 13 Aug 2008, schreef Vincent Snijders: It easier to change the message parser if you change it, than to design a protocol for more computer friendly messages. It's not about what is l

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Vincent Snijders
Daniël Mantione schreef: Op Wed, 13 Aug 2008, schreef Vincent Snijders: Daniël Mantione schreef: Op Wed, 13 Aug 2008, schreef Vincent Snijders: It easier to change the message parser if you change it, than to design a protocol for more computer friendly messages. It's not about what is l

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Mattias Gaertner
On Wed, 13 Aug 2008 21:29:59 +0200 (CEST) Daniël Mantione <[EMAIL PROTECTED]> wrote: > > > Op Wed, 13 Aug 2008, schreef Vincent Snijders: > > > Daniël Mantione schreef: > >> Op Wed, 13 Aug 2008, schreef Vincent Snijders: > >> > >>> It easier to change the message parser if you change it, than

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Daniël Mantione
Op Wed, 13 Aug 2008, schreef Vincent Snijders: Daniël Mantione schreef: Op Wed, 13 Aug 2008, schreef Vincent Snijders: It easier to change the message parser if you change it, than to design a protocol for more computer friendly messages. It's not about what is less work. It's about what

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Vincent Snijders
Daniël Mantione schreef: Op Wed, 13 Aug 2008, schreef Vincent Snijders: It easier to change the message parser if you change it, than to design a protocol for more computer friendly messages. It's not about what is less work. It's about what has the best compatibility, the best maintainabi

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Daniël Mantione
Op Wed, 13 Aug 2008, schreef Vincent Snijders: It easier to change the message parser if you change it, than to design a protocol for more computer friendly messages. It's not about what is less work. It's about what has the best compatibility, the best maintainability, the best reliability

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Vincent Snijders
Daniël Mantione schreef: Op Wed, 13 Aug 2008, schreef Mattias Gärtner: FYI: Because there are several tools to parse FPC/Make/whatever output it is planned to tell fpc to always give english output and show the translated text in the messages window. Ok, for once and for all, and please re

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Daniël Mantione
Op Wed, 13 Aug 2008, schreef Mattias Gärtner: FYI: Because there are several tools to parse FPC/Make/whatever output it is planned to tell fpc to always give english output and show the translated text in the messages window. Ok, for once and for all, and please read up the following words

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Mattias Gärtner
Zitat von ik <[EMAIL PROTECTED]>: > On Wed, Aug 13, 2008 at 6:58 PM, Micha Nelissen <[EMAIL PROTECTED]> wrote: > > Bernd Mueller wrote: > >> > >> I think, the proper way could be, that fpc makes this message fatal, if > >> the unit source is not present. > > > > The proper way is probably for Laza

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread ik
On Wed, Aug 13, 2008 at 6:58 PM, Micha Nelissen <[EMAIL PROTECTED]> wrote: > Bernd Mueller wrote: >> >> I think, the proper way could be, that fpc makes this message fatal, if >> the unit source is not present. > > The proper way is probably for Lazarus to parse also other messages in case > of Fat

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Micha Nelissen
Bernd Mueller wrote: I think, the proper way could be, that fpc makes this message fatal, if the unit source is not present. The proper way is probably for Lazarus to parse also other messages in case of Fatal, to give more context :-). Micha ___ f

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Bernd Mueller
Bernd Mueller wrote: Florian Klaempfl wrote: Bernd Mueller schrieb: Hello, The compiler message "PPU Invalid Version n" should be made a fatal error. This would help Lazarus to display the real problem (wrong ppu version), instead of displaying the error Massage "Fatal: Can't find unit x",

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Bernd Mueller
Florian Klaempfl wrote: Bernd Mueller schrieb: Hello, The compiler message "PPU Invalid Version n" should be made a fatal error. This would help Lazarus to display the real problem (wrong ppu version), instead of displaying the error Massage "Fatal: Can't find unit x", which is misleading in

Re: [fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Florian Klaempfl
Bernd Mueller schrieb: Hello, The compiler message "PPU Invalid Version n" should be made a fatal error. This would help Lazarus to display the real problem (wrong ppu version), instead of displaying the error Massage "Fatal: Can't find unit x", which is misleading in this case. This has a

[fpc-devel] Proposal to make the compiler message "PPU Invalid Version" a fatal error.

2008-08-13 Thread Bernd Mueller
Hello, The compiler message "PPU Invalid Version n" should be made a fatal error. This would help Lazarus to display the real problem (wrong ppu version), instead of displaying the error Massage "Fatal: Can't find unit x", which is misleading in this case. Regards, Bernd. Index: compiler/ms