COMP: less warnings

Alex
This commit is contained in:
Alexander Neundorf 2007-06-08 12:42:29 -04:00
parent 93c0384f48
commit 96bb8da184
2 changed files with 4 additions and 1 deletions

View File

@ -39,6 +39,9 @@ class cmGlobalGenerator;
class cmExternalMakefileProjectGenerator class cmExternalMakefileProjectGenerator
{ {
public: public:
virtual ~cmExternalMakefileProjectGenerator() {}
///! Get the name for this generator. ///! Get the name for this generator.
virtual const char* GetName() const = 0; virtual const char* GetName() const = 0;
/** Get the documentation entry for this generator. */ /** Get the documentation entry for this generator. */

View File

@ -138,7 +138,7 @@ public:
bool GetForceUnixPaths() {return this->ForceUnixPaths;} bool GetForceUnixPaths() {return this->ForceUnixPaths;}
bool GetToolSupportsColor() { return this->ToolSupportsColor; } bool GetToolSupportsColor() { return this->ToolSupportsColor; }
bool SetToolSupportsColor(bool enable) { this->ToolSupportsColor = enable; } void SetToolSupportsColor(bool enable) { this->ToolSupportsColor = enable; }
///! return the language for the given extension ///! return the language for the given extension
const char* GetLanguageFromExtension(const char* ext); const char* GetLanguageFromExtension(const char* ext);