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