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

Martin Schreiber fpmse at bluewin.ch
Thu Aug 14 11:28:30 CEST 2008


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 can I do on win32 to get flushed 
output from FPC into the message window of MSEide?
"
"
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.
"
"
The problem exists not only for the compiler but for all console programs.
I found no way to display the interactive output in a IDE window on win32.
On Linux I can use a pseudo terminal to get flushed output from target.
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.
"
;-)

Martin






More information about the fpc-devel mailing list