This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
I need help with unconfirmed 49269: is there a workaround?
- From: Michael Kochetkov <michael dot kv at gmail dot com>
- To: <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 27 Jun 2011 01:36:40 +0400
- Subject: I need help with unconfirmed 49269: is there a workaround?
Hello,
I believe I have found the defect in libstdc++:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49269 but it is still
unconfirmed within several weeks. So I wonder if one could help me with a
workaround for the problem?
The sample program prints "Current position: 1" for gcc and libstdc++ that
prevents the subsequent program normal working and VC with Dinkumware prints
"Current position: 2" and that is what I expect. It seems that after reading
one wchar_t symbol the tellg function that returns position in bytes shall
return 2. What do you think?
Thank you in advance,
--
Michael Kochetkov