Salome HOME
Porting to Mandrake 10.1 and new products:
authormpv <mpv@opencascade.com>
Wed, 8 Jun 2005 04:35:57 +0000 (04:35 +0000)
committermpv <mpv@opencascade.com>
Wed, 8 Jun 2005 04:35:57 +0000 (04:35 +0000)
porting to the gcc 3.4.1 ('endl' is in 'std' namespace)

src/SALOMELocalTrace/utilities.h

index 40238630f67bf6d49af0bf362f883b2f12253f9a..fe0a122382f4e8e04b5a52d6de3db0bbd387ffd1 100644 (file)
@@ -52,8 +52,8 @@
 
 #define MESS_INIT(deb) std::ostringstream os; os<<deb
 #define MESS_BEGIN(deb) MESS_INIT(deb)<<__FILE__ <<" ["<<__LINE__<<"] : "
-#define MESS_END endl; LocalTraceBufferPool::instance()->insert(NORMAL_MESS, os.str().c_str());
-#define MESS_ABORT endl; LocalTraceBufferPool::instance()->insert(ABORT_MESS, os.str().c_str());
+#define MESS_END std::endl; LocalTraceBufferPool::instance()->insert(NORMAL_MESS, os.str().c_str());
+#define MESS_ABORT std::endl; LocalTraceBufferPool::instance()->insert(ABORT_MESS, os.str().c_str());
 
 // --- Some macros are always defined (without _DEBUG_): for use with release version