[Bug libstdc++/27569] Problem with mixing wcout and cout
pcarlini at suse dot de
gcc-bugzilla@gcc.gnu.org
Fri May 12 08:51:00 GMT 2006
------- Comment #1 from pcarlini at suse dot de 2006-05-12 08:51 -------
This is a (new) feature, not a bug, see libstdc++/11705 and in general search
about stream orientation in the C standard (C99, 7.19.2). In a nutshell you
cannot mix byte oriented and wide oriented I/O. For now, due to the *bug*
pointed out in libstdc++/11705, you can obtain something close to your
expectations by calling std::ios::sync_with_stdio(false); at the beginning of
your program.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27569
More information about the Gcc-bugs
mailing list