Prechádzať zdrojové kódy

warning fix hopefully

Ken Martin 22 rokov pred
rodič
commit
b14eb941d3
1 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 3 3
      Source/cmLocalCodeWarriorGenerator.cxx

+ 3 - 3
Source/cmLocalCodeWarriorGenerator.cxx

@@ -203,8 +203,8 @@ void cmLocalCodeWarriorGenerator::WriteSettingList(std::ostream& fout,
       }
     }
   
-  std::vector<std::string>& links = l->GetLinkDirectories();
-  std::vector<std::string>::iterator j = links.begin();
+  const std::vector<std::string>& links = l->GetLinkDirectories();
+  std::vector<std::string>::const_iterator j = links.begin();
   for(;j != links.end(); ++j)
     {
     fout << "<SETTING>\n";
@@ -521,7 +521,7 @@ void cmLocalCodeWarriorGenerator::WriteSettingList(std::ostream& fout,
   fout << "<SETTING><NAME>MWProject_MachO_outfile</NAME><VALUE>";
   fout << m_TargetOutputFiles[std::string(tgtName)];
   fout << "</VALUE></SETTING>\n";
-  fout << "<SETTING><NAME>MWProject_MachO_filecreator</NAME><VALUE>????</VALUE></SETTING>\n";
+  fout << "<SETTING><NAME>MWProject_MachO_filecreator</NAME><VALUE>????" << "</VALUE></SETTING>\n";
   fout << "<SETTING><NAME>MWProject_MachO_filetype</NAME><VALUE>";
   fout << targetOutputType;
   fout << "</VALUE></SETTING>\n";