This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/10975] incorrect initial ostringstream::tellp()
- From: "drgreening at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 May 2004 13:27:22 -0000
- Subject: [Bug libstdc++/10975] incorrect initial ostringstream::tellp()
- References: <20030526002442.10975.from-bugzilla@geek-central.gen.nz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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