[fpc-devel] Output flush on pipes

Michael Van Canneyt michael at freepascal.org
Sun May 14 17:43:31 CEST 2006



On Sun, 14 May 2006, Mattias Gaertner wrote:

> On Sun, 14 May 2006 12:10:14 +0200 (CEST)
> Michael Van Canneyt <michael at freepascal.org> wrote:
> 
> [...]
> > > > I'm all for such a message form; it should be easy to add with some -v
> > > > switch... But  
> > > > - This is no use if the message code changes over time,
> > > >   because that is still the unique identifier for the error...
> > > > - The message itself should not be given, IMHO. 
> > > >   The program can look it up in the error message file...
> > > 
> > > How can it find out, which message file to use?
> > 
> > There is only 1 message file ? errore.msg for english...
> > located next to the compiler binary...
> 
> Some users are using the translated message files. How can a program find
> out, which one the compiler is using?

But that doesn't matter if the message itself is not included for 
machine-readable output ?! The code uniquely defines the message,
and you can look it up in any language file you want, no ?

That's the whole idea of machine-readable output ?

Michael.



More information about the fpc-devel mailing list