[cmake-commits] alex committed cmExternalMakefileProjectGenerator.h 1.1 1.2 cmGlobalGenerator.h 1.78 1.79

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jun 8 12:42:31 EDT 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv10139/Source

Modified Files:
	cmExternalMakefileProjectGenerator.h cmGlobalGenerator.h 
Log Message:

COMP: less warnings

Alex


Index: cmGlobalGenerator.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalGenerator.h,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- cmGlobalGenerator.h	8 Jun 2007 15:57:16 -0000	1.78
+++ cmGlobalGenerator.h	8 Jun 2007 16:42:29 -0000	1.79
@@ -138,7 +138,7 @@
   
   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);

Index: cmExternalMakefileProjectGenerator.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmExternalMakefileProjectGenerator.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cmExternalMakefileProjectGenerator.h	8 Jun 2007 15:57:16 -0000	1.1
+++ cmExternalMakefileProjectGenerator.h	8 Jun 2007 16:42:29 -0000	1.2
@@ -39,6 +39,9 @@
 class cmExternalMakefileProjectGenerator
 {
 public:
+
+  virtual ~cmExternalMakefileProjectGenerator() {}
+
   ///! Get the name for this generator.
   virtual const char* GetName() const = 0;
   /** Get the documentation entry for this generator.  */



More information about the Cmake-commits mailing list