c++ ifstream problem with gcc 3.2

Gerrit Cap Gerrit.Cap@marble.be
Wed Dec 18 13:23:00 GMT 2002


Hello,

I recently encountered the problem with the gcc 3.2 compiler of cygwin 
using ifstream. Basically it is the same problem as mentioned in 
http://gcc.gnu.org/ml/gcc-help/2002-06/msg00079.html although this is about 
gnu cc 3.0. I thought that this was already fixed. The problem is that when 
a ifstream object is closed and than reopened with the open method to open 
another file, no data is returned. But if one uses 2 ifstream objects, 
everything works perfectly. Is this a known issue with c++ on cygwin ?

Gerrit.


-------------------- Marble Consulting ----------------------
Gerrit Cap                      http://www.marble.be/
OO Solutions Engineer           mailto:Gerrit.Cap@marble.be
Marble Consulting
Blauwe Gaanweg, 53              tel : +32 475  72.94.36
B-9150 Kruibeke-Bazel           fax : +32 3   744.19.17
Belgium
-------------------- Marble Consulting ----------------------
There is only one thing in the world worse than being witty,
and thats not being witty.          (Monthy Python)



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list