diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-10-10 13:41:58 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-10-10 13:41:58 (GMT) |
commit | 65cc289047fc2a4b444838c690d9bd45eca04f7e (patch) | |
tree | 67b5a10c4edfe1df4c40bfdf006246f7652892c8 /Source | |
parent | 7e84fa0f1ded48f5605926de01af0f77f210dbe3 (diff) | |
download | CMake-65cc289047fc2a4b444838c690d9bd45eca04f7e.zip CMake-65cc289047fc2a4b444838c690d9bd45eca04f7e.tar.gz CMake-65cc289047fc2a4b444838c690d9bd45eca04f7e.tar.bz2 |
Remove compile error and remove some warnings
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalCodeWarriorGenerator.cxx | 8 | ||||
-rw-r--r-- | Source/cmLocalCodeWarriorGenerator.cxx | 4 | ||||
-rw-r--r-- | Source/cmStandardIncludes.h | 3 |
3 files changed, 8 insertions, 7 deletions
diff --git a/Source/cmGlobalCodeWarriorGenerator.cxx b/Source/cmGlobalCodeWarriorGenerator.cxx index 014f00c..41dbaa6 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 0a36e99..074aae9 100644 --- a/Source/cmLocalCodeWarriorGenerator.cxx +++ b/Source/cmLocalCodeWarriorGenerator.cxx @@ -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"; diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 22bb4bf..20c4b0e 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -176,8 +176,9 @@ private: class cmInputStringStream: public std::istringstream { public: + typedef std::istringstream Superclass; cmInputStringStream() {} - cmInputStringStream(const char* c) : std::istringstream(c) {} + cmInputStringStream(const char* c) : Superclass(c) {} private: cmInputStringStream(const cmInputStringStream&); void operator=(const cmInputStringStream&); |