[Bug libstdc++/10975] incorrect initial ostringstream::tellp()

drgreening at yahoo dot com gcc-bugzilla@gcc.gnu.org
Fri May 28 23:06:00 GMT 2004


------- Additional Comments From drgreening at yahoo dot com  2004-05-28 13:27 -------
I can reconfirm this bug is still present in gcc 3.3.1 running on Cygwin.

I think a related problem:  It turns out tellp() remains negative if the program
opens a non-existant file with ios::trunc|ios::in|ios::out|ios::bin, then did a
few binary writes.

Very annoying.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10975



More information about the Gcc-bugs mailing list