You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "David Bertoni (JIRA)" <xe...@xml.apache.org> on 2005/07/19 21:35:03 UTC

[jira] Resolved: (XERCESC-1464) XMLBufferFullHandler has virtual method, but not destructor

     [ http://issues.apache.org/jira/browse/XERCESC-1464?page=all ]
     
David Bertoni resolved XERCESC-1464:
------------------------------------

    Resolution: Duplicate

This is already fixed in the latest code.  However, I'm curious as to why compilation would fail, since it's not illegal for a class to have a  virtual function, but no virtual destructor.

> XMLBufferFullHandler has virtual method, but not destructor
> -----------------------------------------------------------
>
>          Key: XERCESC-1464
>          URL: http://issues.apache.org/jira/browse/XERCESC-1464
>      Project: Xerces-C++
>         Type: Bug
>   Components: Miscellaneous
>     Versions: 2.6.0
>  Environment: Redhat Fedora Core 4 (Linux), g++ 4.0.0
>     Reporter: David Jung
>     Priority: Minor

>
> Compilation failure due to class having virtual method, but non-virtual destructor.
> xercesc/framework/XMLBuffer.hpp:257

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org