Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Read and respond to this message at:
I have a moderately complex application: a QT frontend for Octave (it links
against liboctave). In Linux, I grab Octave's output using cout.rdbuf() and
cerr.rdbuf(). In MinGW, I strongly suspect that liboctave sees a different cerr
and cout than my frontend does. Here's why I think this is so.
Octave has a custom stream it uses to output its normal text; it's called
octave_stdout, but it just ends up on cout. I can use octave_stdout.rdbuf()
to capture Octave's output. However, I cannot capture Octave's cerr because
they write directly to cerr. If I do cerr.rdbuf(), the cerr in my client is
redirected, but not the one in Octave.
This occurs whether I use -Wl,subsystem,windows or -Wl,subsystem,console. The
only difference is that when I do the former, the output is only visible in
an rxvt, while in the latter it's visible in the cmd.exe too.
I'm asking this here because I really think you guys are more expert than us
on the Octave mailing lists. If I'm in the wrong place, just point me in the
right direction and I'll go bug someone else.
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
Sign up for the SourceForge newsletter: