More strange things with Hello gcc-3.0.4
Loren James Rittle
rittle@latour.rsch.comm.mot.com
Thu Mar 28 14:49:00 GMT 2002
Not a bug.
>While looking at strace, I see that for some reason on gcc-3.0.4 Linux
>there is no buffering of std::cout.
Please refer to Stroustrup or the standard text of C++98 to learn
the correct way that you can change your program to avoid this
behavior. The thing you want is to disconnect stdio from iostream IO.
std::ios::sync_with_stdio (false);
Regards,
Loren
You could also read the FAQ for libstdc++-v3, ./docs/html/27_io/howto.html .
More information about the Gcc-bugs
mailing list