[Bug c++/12409] New: cannot reuse ofstream due to interaction between <string> and <fstream>
kouptsov at wsu dot edu
gcc-bugzilla@gcc.gnu.org
Thu Sep 25 19:04:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12409
Summary: cannot reuse ofstream due to interaction between
<string> and <fstream>
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kouptsov at wsu dot edu
CC: gcc-bugs at gcc dot gnu dot org
When file is created using ofstream::open and the filename is passed as
string::str(), the attempt to create another file by reusing the ofstream fails.
Please see attached files.
More information about the Gcc-bugs
mailing list