瀏覽代碼

warning fix hopefully

Ken Martin 22 年之前
父節點
當前提交
b14eb941d3
共有 1 個文件被更改,包括 3 次插入3 次删除
  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)
   for(;j != links.end(); ++j)
     {
     {
     fout << "<SETTING>\n";
     fout << "<SETTING>\n";
@@ -521,7 +521,7 @@ void cmLocalCodeWarriorGenerator::WriteSettingList(std::ostream& fout,
   fout << "<SETTING><NAME>MWProject_MachO_outfile</NAME><VALUE>";
   fout << "<SETTING><NAME>MWProject_MachO_outfile</NAME><VALUE>";
   fout << m_TargetOutputFiles[std::string(tgtName)];
   fout << m_TargetOutputFiles[std::string(tgtName)];
   fout << "</VALUE></SETTING>\n";
   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 << "<SETTING><NAME>MWProject_MachO_filetype</NAME><VALUE>";
   fout << targetOutputType;
   fout << targetOutputType;
   fout << "</VALUE></SETTING>\n";
   fout << "</VALUE></SETTING>\n";