projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0025266: Debug statements in the source are getting flushed on to the console
[occt.git]
/
src
/
Message
/
Message_PrinterOStream.cxx
diff --git
a/src/Message/Message_PrinterOStream.cxx
b/src/Message/Message_PrinterOStream.cxx
index
ac8b6b4
..
a91c334
100644
(file)
--- a/
src/Message/Message_PrinterOStream.cxx
+++ b/
src/Message/Message_PrinterOStream.cxx
@@
-73,7
+73,9
@@
Message_PrinterOStream::Message_PrinterOStream (const Standard_CString theFileNa
{
delete aFile;
myStream = &std::cout;
+#ifdef MESSAGE_DEB
std::cerr << "Error opening " << theFileName << std::endl << std::flush;
+#endif
}
}