Commit bd3d0eaf authored by Daniel Pfeifer's avatar Daniel Pfeifer Committed by Brad King
Browse files

cmCTest: don't redefine cout and cerr

The definitions have been introduced to ensure that cout and cerr are
not used in certain files.  However, this limitation does not apply to
all source files that require cmCTest.h to be included.  Furthermore,
the definitions cause side effects depending on the include order.  In
total, the definitions do more harm than good.  Remove them.
parent 3838a0d5
......@@ -45,16 +45,6 @@ class cmXMLWriter;
cmCTestLog_msg.str().c_str(), suppress); \
} while (0)
#ifdef cerr
#undef cerr
#endif
#define cerr no_cerr_use_cmCTestLog
#ifdef cout
#undef cout
#endif
#define cout no_cout_use_cmCTestLog
/** \class cmCTest
* \brief Represents a ctest invocation.
*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment