linux libio solution

H.J. Lu hjl@lucon.org
Thu Oct 9 15:53:00 GMT 1997


> 
> On Thu, Oct 09, 1997 at 08:15:57AM -0700, H.J. Lu wrote:
> > I am not sure if it will work very. Have you tried mixed stdio/iostream
> > code?
> 
> Yes.
> 
> > Are they in sync. For Linux, cout == stdout.
> 
> Well, because it was line buffered to the screen, yes.  But if
> there are any problems, it will be just the same as any other host
> where stdio and iostreams are separate.
> 

It is not that simple. For one thing, you will lose long double I/O.

Anyway, I have made a small kludge to make it to work with libc
5.3.12. But I will need someone to test it for me. I will make
it available after it passes "make check". Right now, as reported
by a few people, basic_string is broken. I will wait for a fix.


-- 
H.J. Lu (hjl@gnu.ai.mit.edu)



More information about the Gcc mailing list