Hi,
        an out of line method is one that is not inline. The destructor is 
not inline so I don't know how to interpret this. You could delete the =0 
if you want. It's only there to make the class abstract - although it 
would be interesting to know what it's talking about.

Gareth


On Thu, 31 Jul 2003, Ilan Nehama wrote:

> 
> Thanks
> 
> What is the meaning of "definition is out of line"?
> Did I do something wrong, to get that?
> What is the proper way to call TokenizeString without getting this warning?
> 
> 
> Ilan
> 
> 
> 
> |---------+---------------------------->
> |         |           Gareth Reakes    |
> |         |           <[EMAIL PROTECTED]|
> |         |           oft.com>         |
> |         |                            |
> |         |           30/07/2003 15:49 |
> |         |           Please respond to|
> |         |           xerces-c-dev     |
> |---------+---------------------------->
>   
> >------------------------------------------------------------------------------------------------------------------------------|
>   |                                                                                  
>                                             |
>   |       To:       "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>                          
>                         |
>   |       cc:                                                                        
>                                             |
>   |       Subject:  Re: Warning when compiling using xlC3                            
>                                             |
>   
> >------------------------------------------------------------------------------------------------------------------------------|
> 
> 
> 
> 
> Hi,
>              as far as I am aware the definition is out of line. Anyone
> throw
> any light on this?
> 
> Gareth
> 
> 
> 
> On Wed, 30 Jul 2003, Ilan Nehama wrote:
> 
> > Hi
> >
> > I am using xerces 2.2.
> > When I compile using xlC3 I get the following warning:
> > BaseRefVector.hpp line 79.12 (W) A pure virtual destructor needs an
> > out-of-line definition in order for its class to be base of another
> class.
> > (I) The previous message applies to the definition of template
> > "BaseRefVectorOf<unsigned short>".
> >
> > The referenced line in my code is:
> >    BaseRefVectorOf<XMLCh>* vec = XMLString::tokenizeString(string);
> >
> > When changing BaseRefVectorOf.hpp line 79 so "  virtual ~BaseRefVectorOf
> ()
> > = 0;" will not be PURE virtual (I.e. delete the =0), I don't get the
> > warning.
> >
> > Is there a solution instead of changing the hpp file?
> >
> > Thanks
> >    Ilan
> >

-- 
Gareth Reakes, Head of Product Development  +44-1865-203192
DecisionSoft Limited                        http://www.decisionsoft.com
XML Development and Services




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

Reply via email to