summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalCodeWarriorGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2003-04-17 15:59:26 (GMT)
committerKen Martin <ken.martin@kitware.com>2003-04-17 15:59:26 (GMT)
commitb14eb941d3cf35554c5e75bc9d608978d593b02e (patch)
treea663b7775405cf410371b6edddec7ffc540edc7c /Source/cmLocalCodeWarriorGenerator.cxx
parent6bb35a4d8802d99f708ee894ac0d5babf0043d84 (diff)
downloadCMake-b14eb941d3cf35554c5e75bc9d608978d593b02e.zip
CMake-b14eb941d3cf35554c5e75bc9d608978d593b02e.tar.gz
CMake-b14eb941d3cf35554c5e75bc9d608978d593b02e.tar.bz2
warning fix hopefully
Diffstat (limited to 'Source/cmLocalCodeWarriorGenerator.cxx')
-rw-r--r--Source/cmLocalCodeWarriorGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalCodeWarriorGenerator.cxx b/Source/cmLocalCodeWarriorGenerator.cxx
index 1b1fd74..08bc812 100644
--- a/Source/cmLocalCodeWarriorGenerator.cxx
+++ b/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";