summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-06-22 13:27:11 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-06-22 13:27:11 (GMT)
commit6bf0be8e134288b31b8c3bc4bebe6ed11c1b7570 (patch)
treebaa66714b296896d628cb9d6c9a12882be189ec8 /Source
parent9c9461d1307d7f60d3cb16b2a94e2a04f4b87e54 (diff)
downloadCMake-6bf0be8e134288b31b8c3bc4bebe6ed11c1b7570.zip
CMake-6bf0be8e134288b31b8c3bc4bebe6ed11c1b7570.tar.gz
CMake-6bf0be8e134288b31b8c3bc4bebe6ed11c1b7570.tar.bz2
namespace issues
Diffstat (limited to 'Source')
-rw-r--r--Source/cmaketest.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmaketest.cxx b/Source/cmaketest.cxx
index e341205..050655d 100644
--- a/Source/cmaketest.cxx
+++ b/Source/cmaketest.cxx
@@ -6,7 +6,7 @@ main (int argc, char *argv[])
{
if (argc < 4)
{
- cerr << "Usage: " << argv[0] << " test-src-dir test-bin-dir test-executable\n";
+ std::cerr << "Usage: " << argv[0] << " test-src-dir test-bin-dir test-executable\n";
return 1;
}
@@ -29,8 +29,8 @@ main (int argc, char *argv[])
ccmd += argv[1];
if (!cmSystemTools::RunCommand(ccmd.c_str(), output))
{
- cerr << "Error: cmake execution failed\n";
- cerr << output.c_str() << "\n";
+ std::cerr << "Error: cmake execution failed\n";
+ std::cerr << output.c_str() << "\n";
// return to the original directory
cmSystemTools::ChangeDirectory(cwd.c_str());
return 1;
@@ -39,8 +39,8 @@ main (int argc, char *argv[])
// now build the test
if (!cmSystemTools::RunCommand(MAKECOMMAND, output))
{
- cerr << "Error: " MAKECOMMAND " execution failed\n";
- cerr << output.c_str() << "\n";
+ std::cerr << "Error: " MAKECOMMAND " execution failed\n";
+ std::cerr << output.c_str() << "\n";
// return to the original directory
cmSystemTools::ChangeDirectory(cwd.c_str());
return 1;
@@ -49,7 +49,7 @@ main (int argc, char *argv[])
// now run the compiled test
if (!cmSystemTools::RunCommand(argv[3], output))
{
- cerr << "Error: " << argv[3] << " execution failed\n";
+ std::cerr << "Error: " << argv[3] << " execution failed\n";
// return to the original directory
cmSystemTools::ChangeDirectory(cwd.c_str());
return 1;