[fpc-devel] Output flush on pipes

Martin Schreiber fpmse at bluewin.ch
Sun May 14 17:16:49 CEST 2006


On Sunday 14 May 2006 16.54, Florian Klaempfl wrote:
> The error numbers didn't change, they are keep unique.
>
> I propose to do the following:
> - add an option -vm (machine readable output)
> Using this option the compiler outputs the messages csv like and flushes
> after each message:
> message type <tab> file <tab> line <tab> column <tab> error number <tab>
> complete error message <tab> message template (i.e. Type $1 expected, $2
> found <tab> parameter 1 <tab> parameter 2 <tab> parameter n
>
> To avoid trouble with future versions, a header line will describe each
> column.

I need no machine readable output (up to now), I need a way to get flushed 
writeln output from the RTL on widows to display it in the MSEide message 
window (compiler output) and the target window (program output).
On linux I use a PTY to connect compiler and target -> all is OK, on win32 I 
can only use pipes AFAIK where the RTL doesn't flush output on writeln.

Martin



More information about the fpc-devel mailing list