RE: rootcint and inlines

From: Canal, Philippe (pcanal@fnal.gov)
Date: Thu Sep 09 1999 - 18:04:53 MEST


> Hi,
> 
> I have a problem that I'm not able to handle alone. It goes down to this
> very simple case. Consider the header file below that gives me trouble :
> =====================================================================
> #include "TNamed.h"
> 
> class VOptions : public TNamed
> {
> public :
>    void              Copy(TObject& obj);
>    ClassDef(VOptions,1)  // General options used in a VEGA session
> };
> =====================================================================
> 
> [toto]$ nm -C options.o | grep VOptions
>                  U VOptions::DeclFileLine(void)
>                  U VOptions::DeclFileName(void)

Those two functions (and some other) and defined by the macro ClassImp.
You should add to your source file (probably VOptions.cc) the line

	ClassImp(Voptions);

and your problem should be solved.

Philippe Canal (pcanal@fnal.gov)



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