compiler warnings

This commit is contained in:
Ken Martin 2002-09-20 08:09:03 -04:00
parent 0415b0db75
commit a7589c3a32
2 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -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. ";
}