From b14eb941d3cf35554c5e75bc9d608978d593b02e Mon Sep 17 00:00:00 2001 From: Ken Martin <ken.martin@kitware.com> Date: Thu, 17 Apr 2003 11:59:26 -0400 Subject: [PATCH] warning fix hopefully --- Source/cmLocalCodeWarriorGenerator.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/cmLocalCodeWarriorGenerator.cxx b/Source/cmLocalCodeWarriorGenerator.cxx index 1b1fd740f..08bc812ba 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";