Commit 65cc2890 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Remove compile error and remove some warnings

parent 7e84fa0f
...@@ -41,10 +41,10 @@ void cmGlobalCodeWarriorGenerator::EnableLanguage(const char*, ...@@ -41,10 +41,10 @@ void cmGlobalCodeWarriorGenerator::EnableLanguage(const char*,
} }
int cmGlobalCodeWarriorGenerator::TryCompile(const char *, int cmGlobalCodeWarriorGenerator::TryCompile(const char *,
const char */*bindir*/, const char* /*bindir*/,
const char */*projectName*/, const char* /*projectName*/,
const char */*targetName*/, const char* /*targetName*/,
std::string */*output*/) std::string* /*output*/)
{ {
return 1; return 1;
} }
......
...@@ -258,7 +258,7 @@ void cmLocalCodeWarriorGenerator::WriteSettingList(std::ostream& fout, ...@@ -258,7 +258,7 @@ void cmLocalCodeWarriorGenerator::WriteSettingList(std::ostream& fout,
} }
void cmLocalCodeWarriorGenerator::WriteFileList(std::ostream& fout, void cmLocalCodeWarriorGenerator::WriteFileList(std::ostream& fout,
const char */*tgtName*/, const char* /*tgtName*/,
cmTarget const *l) cmTarget const *l)
{ {
fout << "<FILELIST>\n"; fout << "<FILELIST>\n";
...@@ -301,7 +301,7 @@ void cmLocalCodeWarriorGenerator::WriteFileList(std::ostream& fout, ...@@ -301,7 +301,7 @@ void cmLocalCodeWarriorGenerator::WriteFileList(std::ostream& fout,
void cmLocalCodeWarriorGenerator::WriteLinkOrder(std::ostream& fout, void cmLocalCodeWarriorGenerator::WriteLinkOrder(std::ostream& fout,
const char */*tgtName*/, const char* /*tgtName*/,
cmTarget const *l) cmTarget const *l)
{ {
fout << "<LINKORDER>\n"; fout << "<LINKORDER>\n";
......
...@@ -176,8 +176,9 @@ private: ...@@ -176,8 +176,9 @@ private:
class cmInputStringStream: public std::istringstream class cmInputStringStream: public std::istringstream
{ {
public: public:
typedef std::istringstream Superclass;
cmInputStringStream() {} cmInputStringStream() {}
cmInputStringStream(const char* c) : std::istringstream(c) {} cmInputStringStream(const char* c) : Superclass(c) {}
private: private:
cmInputStringStream(const cmInputStringStream&); cmInputStringStream(const cmInputStringStream&);
void operator=(const cmInputStringStream&); void operator=(const cmInputStringStream&);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment