From: dmv Date: Fri, 15 Aug 2008 09:42:21 +0000 (+0000) Subject: Rollback a part of integration to BR_QT4_Dev2 11.08.2008: X-Git-Tag: TG_TRIPOLI_qt4_porting~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d69ed7f359be105bf228124f283a35bdb7b082f0;p=modules%2Fkernel.git Rollback a part of integration to BR_QT4_Dev2 11.08.2008: IPAL 19893: debug information is in terminal. --- diff --git a/src/ModuleCatalog/SALOME_ModuleCatalog_Client.cxx b/src/ModuleCatalog/SALOME_ModuleCatalog_Client.cxx index 525451a00..02384368c 100644 --- a/src/ModuleCatalog/SALOME_ModuleCatalog_Client.cxx +++ b/src/ModuleCatalog/SALOME_ModuleCatalog_Client.cxx @@ -129,7 +129,7 @@ int main(int argc,char **argv) } catch(SALOME_ModuleCatalog::NotFound &ex){ INFOS("SALOME_ModuleCatalog::NotFound") - MESSAGE ( ex.what ); + cerr << ex.what << endl; } catch(CORBA::SystemException&) { INFOS("Caught CORBA::SystemException.") diff --git a/src/SALOMELocalTrace/LocalTraceCollector.cxx b/src/SALOMELocalTrace/LocalTraceCollector.cxx index fe1645177..7a77dfb7f 100644 --- a/src/SALOMELocalTrace/LocalTraceCollector.cxx +++ b/src/SALOMELocalTrace/LocalTraceCollector.cxx @@ -103,11 +103,11 @@ void* LocalTraceCollector::run(void *bid) { cout << flush ; #ifndef WNT - MESSAGE ( "INTERRUPTION from thread " << myTrace.threadId - << " : " << myTrace.trace ); + cerr << "INTERRUPTION from thread " << myTrace.threadId + << " : " << myTrace.trace; #else - MESSAGE ( "INTERRUPTION from thread " << (void*)(&myTrace.threadId) - << " : " << myTrace.trace ); + cerr << "INTERRUPTION from thread " << (void*)(&myTrace.threadId) + << " : " << myTrace.trace; #endif cerr << flush ; exit(1); @@ -116,9 +116,9 @@ void* LocalTraceCollector::run(void *bid) { cout << flush ; #ifndef WNT - MESSAGE ( "th. " << myTrace.threadId << " " << myTrace.trace ); + cerr << "th. " << myTrace.threadId << " " << myTrace.trace; #else - MESSAGE ( "th. " << (void*)(&myTrace.threadId) << " " << myTrace.trace ); + cerr << "th. " << (void*)(&myTrace.threadId) << " " << myTrace.trace; #endif cerr << flush ; }