diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-01 18:19:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-03 12:04:22 (GMT) |
commit | bd3d0eafbb362fbc0f140c228da85791a473e44e (patch) | |
tree | dde7b99239a1b9e47343efc0010bdf1e9860372a /Source | |
parent | 3838a0d5fbed480c007b1667eddf2d6797a24344 (diff) | |
download | CMake-bd3d0eafbb362fbc0f140c228da85791a473e44e.zip CMake-bd3d0eafbb362fbc0f140c228da85791a473e44e.tar.gz CMake-bd3d0eafbb362fbc0f140c228da85791a473e44e.tar.bz2 |
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.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmCTest.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 20f5caf..9d661d4 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -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. * |