forwarding, seen with current branches and trunk Matthias
#include <iostream> int main() { std::wcerr << L"Hello, world!" << std::endl; std::cerr << "!dlrow ,olleH" << std::endl; } when compiled, will only output "Hello, world!", and the subsequent string will not be output. However, #include <iostream> int main() { std::cerr << "Foobar" << std::endl; std::wcerr << L"Hello, world!" << std::endl; std::cerr << "!dlrow ,olleH" << std::endl; } works as expected, printing out all three strings. -- Summary: std::wcerr followed by std::cerr lacks std:cerr output Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42552