Re: Abstract base class problems with CINT

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jul 08 1999 - 18:29:42 MEST


Hi Gene,
This should work correctly and we have many such examples in Root
itself.
My guess is that you are missing the implementation of a member function
in the derived class.
Could you package your two headers with a dummy implementation
into one file and sent it to me?

Rene Brun

Gene Van Buren wrote:
> 
> Hi, I have an abstract base class and an associated
> derived class which I'd like to use in ROOT CINT. I have
> no compile-time errors/warnings. However, I cannot
> load the shared library into ROOT because the __vtbl
> for the abstract base class is undefined. When I look
> in the shared library with nm, I see that not only is
> the __vtbl undefined, but so are the Class, Dictionary,
> ImplFileLine, and ImplFileName member functions.
> 
> Both the base and derived classes have the ClassDef
> statements (with input number=0), and the derived
> class implementation file has its ClassImp.
> 
> If anyone has suggestions for something I can look at
> or I've left out, please let me know. Thanks,
> 
>                     -Gene Van Buren
>                     gene@bnl.gov



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:35 MET