mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 07:41:15 +00:00
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.
This commit is contained in:
parent
3838a0d5fb
commit
bd3d0eafbb
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user