[cmake-commits] alex committed cmFileCommand.h 1.21.2.1 1.21.2.2
cmIncludeCommand.cxx 1.18.2.4 1.18.2.5
cmInstallTargetGenerator.cxx 1.28.2.4 1.28.2.5
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu May 17 11:12:12 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv16605/Source
Modified Files:
Tag: CMake-CrossCompileBasic
cmFileCommand.h cmIncludeCommand.cxx
cmInstallTargetGenerator.cxx
Log Message:
COMP: less warnings with msvc7
Alex
Index: cmFileCommand.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFileCommand.h,v
retrieving revision 1.21.2.1
retrieving revision 1.21.2.2
diff -u -d -r1.21.2.1 -r1.21.2.2
--- cmFileCommand.h 14 May 2007 17:46:15 -0000 1.21.2.1
+++ cmFileCommand.h 17 May 2007 15:12:10 -0000 1.21.2.2
@@ -19,7 +19,7 @@
#include "cmCommand.h"
-class cmFileInstaller;
+struct cmFileInstaller;
/** \class cmFileCommand
* \brief Command for manipulation of files
Index: cmIncludeCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmIncludeCommand.cxx,v
retrieving revision 1.18.2.4
retrieving revision 1.18.2.5
diff -u -d -r1.18.2.4 -r1.18.2.5
--- cmIncludeCommand.cxx 17 May 2007 14:24:36 -0000 1.18.2.4
+++ cmIncludeCommand.cxx 17 May 2007 15:12:10 -0000 1.18.2.5
@@ -30,7 +30,7 @@
std::string fname = args[0];
std::string resultVarName;
- for (int i=1; i<args.size(); i++)
+ for (unsigned int i=1; i<args.size(); i++)
{
if (args[i] == "OPTIONAL")
{
Index: cmInstallTargetGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmInstallTargetGenerator.cxx,v
retrieving revision 1.28.2.4
retrieving revision 1.28.2.5
diff -u -d -r1.28.2.4 -r1.28.2.5
--- cmInstallTargetGenerator.cxx 15 May 2007 17:30:39 -0000 1.28.2.4
+++ cmInstallTargetGenerator.cxx 17 May 2007 15:12:10 -0000 1.28.2.5
@@ -485,7 +485,7 @@
}
std::string ranlib = this->Target->GetMakefile()->GetRequiredDefinition("CMAKE_RANLIB");
- if (!ranlib.size()>0)
+ if (!ranlib.size())
{
return;
}
More information about the Cmake-commits
mailing list