diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-06-22 13:27:11 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-06-22 13:27:11 (GMT) |
commit | 6bf0be8e134288b31b8c3bc4bebe6ed11c1b7570 (patch) | |
tree | baa66714b296896d628cb9d6c9a12882be189ec8 /Source/cmaketest.cxx | |
parent | 9c9461d1307d7f60d3cb16b2a94e2a04f4b87e54 (diff) | |
download | CMake-6bf0be8e134288b31b8c3bc4bebe6ed11c1b7570.zip CMake-6bf0be8e134288b31b8c3bc4bebe6ed11c1b7570.tar.gz CMake-6bf0be8e134288b31b8c3bc4bebe6ed11c1b7570.tar.bz2 |
namespace issues
Diffstat (limited to 'Source/cmaketest.cxx')
-rw-r--r-- | Source/cmaketest.cxx | 12 |
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; |