This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: vector/algorithm breaks iostream?



+ I'm testing a fix right now, and should have it checked in by tonight.
+ (Move std/iostream's __ioinit to bits/std_iostream.h. I also took out the
+ std_iostreams.h includes in std_numerics.h and stl_algobase.h, as they are
+ extraneous.)

I checked that out and the problem is still present.  Tried stepping through
things (finally have DDD hooked up to gdb (oh, it's very nice)) just now; it

seems that the streambuf's _M_{in,out}_* members are never being set to 
anything, so a lot of the tests (e.g., on _M_out_cur) always fail, and so 
things just don't get done.  The __ioinit count gets up to 6, but I think
some 
of cerr's streambuf's members just never get set up...?

Enh, I could be completely wrong.  I have DDD screenshots of the affected
data, 
if they're of any help.  :-)


Phil
(If you reply to the list, please don't cc another copy to me.  Thanks.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]