[fpc-devel] Output flush on pipes
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun May 14 21:35:05 CEST 2006
On Sun, 14 May 2006 16:02:54 +0200
"Tomas Hajny" <XHajT03 at mbox.vol.cz> 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.
Good idea.
Mattias
More information about the fpc-devel
mailing list