summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-10-10 12:25:11 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-10-10 12:25:11 (GMT)
commit1ca67f200ae323522446638db8e13202877c6c0d (patch)
tree235842b0c064c9771e4d47a82d68599b33b8972f
parent1dcfcc809e5226a396807426bc55212ba92c7691 (diff)
downloadCMake-1ca67f200ae323522446638db8e13202877c6c0d.zip
CMake-1ca67f200ae323522446638db8e13202877c6c0d.tar.gz
CMake-1ca67f200ae323522446638db8e13202877c6c0d.tar.bz2
fixed some compiler warnings
-rw-r--r--Source/cmGlobalCodeWarriorGenerator.cxx8
-rw-r--r--Source/cmLocalCodeWarriorGenerator.cxx8
2 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmGlobalCodeWarriorGenerator.cxx b/Source/cmGlobalCodeWarriorGenerator.cxx
index b2e0a98..014f00c 100644
--- a/Source/cmGlobalCodeWarriorGenerator.cxx
+++ b/Source/cmGlobalCodeWarriorGenerator.cxx
@@ -41,10 +41,10 @@ void cmGlobalCodeWarriorGenerator::EnableLanguage(const char*,
}
int cmGlobalCodeWarriorGenerator::TryCompile(const char *,
- const char *bindir,
- const char *projectName,
- const char *targetName,
- std::string *output)
+ const char */*bindir*/,
+ const char */*projectName*/,
+ const char */*targetName*/,
+ std::string */*output*/)
{
return 1;
}
diff --git a/Source/cmLocalCodeWarriorGenerator.cxx b/Source/cmLocalCodeWarriorGenerator.cxx
index 250ac22..0a36e99 100644
--- a/Source/cmLocalCodeWarriorGenerator.cxx
+++ b/Source/cmLocalCodeWarriorGenerator.cxx
@@ -216,7 +216,7 @@ void cmLocalCodeWarriorGenerator::WriteSettingList(std::ostream& fout,
break;
}
- fout << "<SETTING><NAME>MWProject_PPC_filecreator</NAME><VALUE>????</VALUE></SETTING>\n";
+ fout << "<SETTING><NAME>MWProject_PPC_filecreator</NAME><VALUE>????" << "</VALUE></SETTING>\n";
fout << "<SETTING><NAME>MWProject_PPC_filetype</NAME><VALUE>APPL</VALUE></SETTING>\n";
fout << "<SETTING><NAME>MWProject_PPC_size</NAME><VALUE>384</VALUE></SETTING>\n";
fout << "<SETTING><NAME>MWProject_PPC_minsize</NAME><VALUE>384</VALUE></SETTING>\n";
@@ -225,7 +225,7 @@ void cmLocalCodeWarriorGenerator::WriteSettingList(std::ostream& fout,
fout << "<SETTING><NAME>MWProject_PPC_symfilename</NAME><VALUE></VALUE></SETTING>\n";
fout << "<SETTING><NAME>MWProject_PPC_rsrcname</NAME><VALUE></VALUE></SETTING>\n";
fout << "<SETTING><NAME>MWProject_PPC_rsrcheader</NAME><VALUE>Native</VALUE></SETTING>\n";
- fout << "<SETTING><NAME>MWProject_PPC_rsrctype</NAME><VALUE>????</VALUE></SETTING>\n";
+ fout << "<SETTING><NAME>MWProject_PPC_rsrctype</NAME><VALUE>????" << "</VALUE></SETTING>\n";
fout << "<SETTING><NAME>MWProject_PPC_rsrcid</NAME><VALUE>0</VALUE></SETTING>\n";
fout << "<SETTING><NAME>MWProject_PPC_rsrcflags</NAME><VALUE>0</VALUE></SETTING>\n";
fout << "<SETTING><NAME>MWProject_PPC_rsrcstore</NAME><VALUE>0</VALUE></SETTING>\n";
@@ -258,7 +258,7 @@ void cmLocalCodeWarriorGenerator::WriteSettingList(std::ostream& fout,
}
void cmLocalCodeWarriorGenerator::WriteFileList(std::ostream& fout,
- const char *tgtName,
+ const char */*tgtName*/,
cmTarget const *l)
{
fout << "<FILELIST>\n";
@@ -301,7 +301,7 @@ void cmLocalCodeWarriorGenerator::WriteFileList(std::ostream& fout,
void cmLocalCodeWarriorGenerator::WriteLinkOrder(std::ostream& fout,
- const char *tgtName,
+ const char */*tgtName*/,
cmTarget const *l)
{
fout << "<LINKORDER>\n";