[cmake-commits] king committed cmDependsFortran.cxx 1.43 1.44

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 10 09:46:07 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv19699

Modified Files:
	cmDependsFortran.cxx 
Log Message:
COMP: Fix build on VS6.


Index: cmDependsFortran.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDependsFortran.cxx,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- cmDependsFortran.cxx	9 Jan 2008 15:30:10 -0000	1.43
+++ cmDependsFortran.cxx	10 Jan 2008 14:46:04 -0000	1.44
@@ -91,7 +91,7 @@
 
   int OldStartcond;
   std::set<std::string> PPDefinitions;
-  std::size_t InPPFalseBranch;
+  size_t InPPFalseBranch;
   std::stack<bool> SkipToEnd;
 
   // Information about the parsed source.
@@ -148,13 +148,13 @@
   for(std::vector<std::string>::const_iterator
       it = definitions.begin(); it != definitions.end(); ++it)
     {
-    std::size_t match = it->find("-D");
+    std::string::size_type match = it->find("-D");
     if(match != std::string::npos)
       {
-      std::size_t assignment = it->find("=");
+      std::string::size_type assignment = it->find("=");
       if(assignment != std::string::npos)
         {
-        std::size_t length = assignment - (match+2);
+        std::string::size_type length = assignment - (match+2);
         def = it->substr(match+2, length);
         }
       else



More information about the Cmake-commits mailing list