From 96bb8da184acd7557b05d7f1bb4ca10ae39be82e Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Fri, 8 Jun 2007 12:42:29 -0400 Subject: COMP: less warnings Alex --- Source/cmExternalMakefileProjectGenerator.h | 3 +++ Source/cmGlobalGenerator.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/cmExternalMakefileProjectGenerator.h b/Source/cmExternalMakefileProjectGenerator.h index 48db289..c9cedde 100644 --- a/Source/cmExternalMakefileProjectGenerator.h +++ b/Source/cmExternalMakefileProjectGenerator.h @@ -39,6 +39,9 @@ class cmGlobalGenerator; class cmExternalMakefileProjectGenerator { public: + + virtual ~cmExternalMakefileProjectGenerator() {} + ///! Get the name for this generator. virtual const char* GetName() const = 0; /** Get the documentation entry for this generator. */ diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 96333a2..929069a 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -138,7 +138,7 @@ public: bool GetForceUnixPaths() {return this->ForceUnixPaths;} 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 const char* GetLanguageFromExtension(const char* ext); -- cgit v0.12