This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/36427] std::ios_base::open_mode is defined but useless
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jun 2008 09:08:37 -0000
- Subject: [Bug libstdc++/36427] std::ios_base::open_mode is defined but useless
- References: <bug-36427-16273@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from paolo dot carlini at oracle dot com 2008-06-03 09:08 -------
(In reply to comment #0)
> I'm guessing that the latter was defined for compatibility with compilers like
> MSVC that would let you use the two synonymously.
Nope. In the code there is a comment mentioning Annex D.6 in the C++ Standard,
and that is what we are implementing. In any case, because of ABI stability,
certainly the underlying type of openmode is not going to change in the near
future.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36427