This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/45226] the difference of fstream's open() in different GCC version



------- Comment #1 from redi at gcc dot gnu dot org  2010-08-07 18:15 -------
1) GCC 3.4.6 is ancient and no longer supported.

2) Your code is not a self-contained testcase, so noone can compile it.

3) std::ofstream::open does not take a string as the second parameter, it takes
a bitmask of type std::ios:openmode.  You need to update your code to ISO C++.


-- 

redi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]