This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17922] [3.3/3.4/4.0 regression] Spurious warnings about std::ios_base::seekdir
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2004 20:49:05 -0000
- Subject: [Bug libstdc++/17922] [3.3/3.4/4.0 regression] Spurious warnings about std::ios_base::seekdir
- References: <20041010135516.17922.jm@bourguet.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bkoz at gcc dot gnu dot org 2004-10-11 20:49 -------
could add
enum _Ios_Seekdir { _S_ios_seekdir_beg = 0, _S_ios_seekdir_cur = 1,
_S_ios_seekdir_end = 2
_S_ios_seekdir_final = 1L << 16 };
This would change the value of (the currently unfortunately named)
_S_ios_seekdir_end, but since this is an implementation feature I think it'd be
ok. Most importantly, the type size would be the same.
We should add compile-only testsuite regressions for this.
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17922