Launchpad has imported 2 comments from the remote bug at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42552.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers.

------------------------------------------------------------------------
On 2009-12-30T12:41:26+00:00 Debian GCC maintainers wrote:

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.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.3/+bug/426178/comments/1

------------------------------------------------------------------------
On 2009-12-30T12:51:20+00:00 Paolo-carlini wrote:

If you are looking for a totally unsupported (can go away at any moment)
"workaround" (it's a bug that it does what you want), see PR11705

*** This bug has been marked as a duplicate of 37557 ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.3/+bug/426178/comments/2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/426178

Title:
  [PR42552] std::wcerr followed by std::cerr yields incorrect output

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/426178/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to