This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: vector/algorithm breaks iostream?
- To: "Lib3 (E-mail)" <libstdc++@sourceware.cygnus.com>
- Subject: Re: vector/algorithm breaks iostream?
- From: "Edwards, Phil" <pedwards@ball.com>
- Date: Fri, 21 May 1999 09:43:36 -0600
+ 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.)