diff options
author | Jose <jose@zeroc.com> | 2017-01-09 17:01:31 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-01-09 17:01:31 +0100 |
commit | d4ed7973f1824478477be29989fc125b04207494 (patch) | |
tree | ec488f46a0ee15f987a0a24c87d1fe0a999cc168 /cpp/src/Ice/Thread.cpp | |
parent | IceSSL C#/Java test fixes to sync with C++ changes (diff) | |
download | ice-d4ed7973f1824478477be29989fc125b04207494.tar.bz2 ice-d4ed7973f1824478477be29989fc125b04207494.tar.xz ice-d4ed7973f1824478477be29989fc125b04207494.zip |
Fixed (ICE-6694) - Unicode output in command line tools
Diffstat (limited to 'cpp/src/Ice/Thread.cpp')
-rw-r--r-- | cpp/src/Ice/Thread.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/src/Ice/Thread.cpp b/cpp/src/Ice/Thread.cpp index 80990aeb8ce..8938e288ac9 100644 --- a/cpp/src/Ice/Thread.cpp +++ b/cpp/src/Ice/Thread.cpp @@ -19,6 +19,7 @@ #include <IceUtil/Thread.h> #include <IceUtil/Time.h> #include <IceUtil/ThreadException.h> +#include <Ice/ConsoleUtil.h> #include <climits> #include <exception> @@ -32,6 +33,7 @@ #endif using namespace std; +using namespace IceInternal; #ifdef ICE_OS_UWP @@ -169,7 +171,7 @@ WINAPI startHook(void* arg) { if(!thread->name().empty()) { - cerr << thread->name() << " terminating" << endl; + consoleErr << thread->name() << " terminating" << endl; } std::terminate(); } @@ -404,7 +406,7 @@ WINAPI startHook(void* arg) { if(!thread->name().empty()) { - cerr << thread->name() << " terminating" << endl; + consoleErr << thread->name() << " terminating" << endl; } std::terminate(); } @@ -650,7 +652,7 @@ startHook(void* arg) { if(!thread->name().empty()) { - cerr << thread->name() << " terminating" << endl; + consoleErr << thread->name() << " terminating" << endl; } std::terminate(); } |