[Bug c++/30711] Ifstream bug using Red Hat g++-4.1.0 compared to g++-4.0.2
steigers at phys dot ethz dot ch
gcc-bugzilla@gcc.gnu.org
Tue Feb 6 10:33:00 GMT 2007
------- Comment #2 from steigers at phys dot ethz dot ch 2007-02-06 10:33 -------
Apparently if the close() statement is followed by a clear() statement it
works. I t also works if close() is omitted and only clear() is called.
I therefore suspect that someone forgot to change the status of the stream in
the open() method of the fulty compiler.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30711
More information about the Gcc-bugs
mailing list