[cmake-commits] king committed cmELF.cxx 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Feb 28 08:32:07 EST 2008


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

Modified Files:
	cmELF.cxx 
Log Message:
COMP: Fix warnings in cmELF.


Index: cmELF.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmELF.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cmELF.cxx	27 Feb 2008 21:26:35 -0000	1.1
+++ cmELF.cxx	28 Feb 2008 13:32:05 -0000	1.2
@@ -85,7 +85,7 @@
     }
 
   // Destruct and delete the file stream object.
-  ~cmELFInternal()
+  virtual ~cmELFInternal()
     {
     delete &this->Stream;
     }
@@ -187,6 +187,9 @@
       }
     switch(this->ELFType)
       {
+      case cmELF::FileTypeInvalid:
+        os << " invalid file";
+        break;
       case cmELF::FileTypeRelocatableObject:
         os << " relocatable object";
         break;



More information about the Cmake-commits mailing list