[fpc-devel] Output flush on pipes
Vincent Snijders
vsnijders at quicknet.nl
Sun May 14 19:20:24 CEST 2006
Tomas Hajny wrote:
> On 14 May 06, at 8:54, Vincent Snijders wrote:
>
>>Daniƫl Mantione wrote:
>>
>>>Op Sun, 14 May 2006, schreef Martin Schreiber:
>>>
>>>
>>>
>>>>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?
>>>
>>>
>>>About flushing the output, I think it is impossible to receive the output
>>>interactively currently, it will output in bursts. You should still be
>>>able to receive the output, though. If you want to receive it
>>>interactively, I think we can modify the compiler to flush after each
>>>message. But again, I do not recommend this approach.
>>
>>What I would appreciate, is that the output I get remains in the same
>>order as it is generated. So, first the compiler saying linking and then
>>the linker giving error messages. See
>>http://www.freepascal.org/bugs/showrec.php3?ID=4996
>
>
> I guess that this should be easy to fix by always
> flushing Output before launching external
> utilities. Am I overlooking something? If not, I
> can probably add this.
I think that is indeed what needs to be done.
Vincent
More information about the fpc-devel
mailing list