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 libstdc++/18678] Garbage output to std::wcout under some circumstances


------- Additional Comments From pcarlini at suse dot de  2004-11-29 23:21 -------
Please, don't reopen a PR changing completely the topis: is completely confusing.

Anyway, as you say, this is well outside the c++ spec: according to 27.3, c++
cannot mix operations **and**, by default (missing a sync_with_stdio(false))
must by synced **char-by-char** with STDIO. Therefore, cout and wcout output can
only happen via putc/putwc, as you can see in include/ext/stdio_sync_filebuf.h.

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


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


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