diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-20 12:09:03 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-20 12:09:03 (GMT) |
commit | a7589c3a325a7ab641d0249f126308ac3b1f4385 (patch) | |
tree | 19e108a676d3ae0f7a86e79d01729aa7c31fe8ce /Source | |
parent | 0415b0db75643e3d0532a2d539b07c4d864b9097 (diff) | |
download | CMake-a7589c3a325a7ab641d0249f126308ac3b1f4385.zip CMake-a7589c3a325a7ab641d0249f126308ac3b1f4385.tar.gz CMake-a7589c3a325a7ab641d0249f126308ac3b1f4385.tar.bz2 |
compiler warnings
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmTryRunCommand.cxx | 2 | ||||
-rw-r--r-- | Source/cmTryRunCommand.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx index 55fbfd1..fc18db3 100644 --- a/Source/cmTryRunCommand.cxx +++ b/Source/cmTryRunCommand.cxx @@ -29,7 +29,7 @@ bool cmTryRunCommand::InitialPass(std::vector<std::string> const& argv) // build an arg list for TryCompile and extract the runArgs std::vector<std::string> tryCompile; std::string runArgs; - int i; + unsigned int i; for (i = 1; i < argv.size(); ++i) { if (argv[i] == "ARGS") diff --git a/Source/cmTryRunCommand.h b/Source/cmTryRunCommand.h index 985ccd0..4e45b94 100644 --- a/Source/cmTryRunCommand.h +++ b/Source/cmTryRunCommand.h @@ -63,8 +63,8 @@ public: { return "TRY_RUN(RUN_RESULT_VAR COMPILE_RESULT_VAR bindir srcfile <CMAKE_FLAGS <Flags>> <COMPILE_DEFINITIONS <flags>> <ARGUMENTS <arg1> <arg2>...>)\n" - "Try compiling a srcfile. Return the success or failure in "; - "COMPILE_RESULT_VAR. Then if the compile succeeded, run the "; + "Try compiling a srcfile. Return the success or failure in " + "COMPILE_RESULT_VAR. Then if the compile succeeded, run the " "executable and return the result in RUN_RESULT_VAR. "; } |