DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12847>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12847

bulid warning for non-virtual constuctor

           Summary: bulid warning for non-virtual constuctor
           Product: Xerces-C++
           Version: 2.1.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This is in the cvs tree. 

In file included from
/home/local/gareth/xercesCVS/xml-xerces/c/src/xercesc/dom/impl/DOMDeepNodeListPool.hpp:84,
                 from
/home/local/gareth/xercesCVS/xml-xerces/c/src/xercesc/dom/impl/DOMDocumentImpl.hpp:85,
                 from XPathNamespaceImpl.cpp:12:
/home/local/gareth/xercesCVS/xml-xerces/c/src/xercesc/util/HashPtr.hpp:79:
warning: `class HashPtr' has 
virtual functions but non-virtual destructor

[gareth@somme util]$ cvs -z3 diff -u HashPtr.hpp
Index: HashPtr.hpp
===================================================================
RCS file: /home/cvspublic/xml-xerces/c/src/xercesc/util/HashPtr.hpp,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 HashPtr.hpp
--- HashPtr.hpp 1 Feb 2002 22:22:10 -0000       1.1.1.1
+++ HashPtr.hpp 20 Sep 2002 09:43:38 -0000
@@ -72,7 +72,7 @@
 {
 public:
        HashPtr();
-
~HashPtr();
+
virtual ~HashPtr();
        virtual unsigned int getHashVal(const void *const key, unsigned int mod);
        virtual bool equals(const void *const key1, const void *const key2);
 

patch is

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to