Re: rootcint complain?!

Rene Brun (Rene.Brun@cern.ch)
Mon, 31 May 1999 14:23:33 +0000


Hi Selim,
Could you send me your files:
mo.H
moBase.h
Styledcanvas.H

Rene Brun

Selim Issever wrote:
>
> Hi all,..
>
> I have the following class, which inherits as follows:
> mo <- moBase <- StyledCanvas. (all publically inherited)
>
> I want to access all memberfunctions (also inherited ones) from rootcint:
> rem: mo.H includes moBase.H which again includes StyledCanvas.H
>
> --- shell output ------------------------
> rootcint mydict.C -c mo.H moBase.H StyledCanvas.H
> Warning: File "moBase.H" already loaded
> Warning: File "StyledCanvas.H" already loaded
>
> anyways, I can startup the program and access a memberfunction from moBase.
> As I want to have tidy code:
>
> --- shell output ------------------------
> rootcint mydict.C -c mo.H
>
> and no complains, but access to the public memberfunction ov of moBase gives:
>
> --- application output ------------------------
> subspace transmission: m.ov("1999/01/24","1999/01/25")
> Error: Can't call mo::ov() in current scope FILE:./07224daa LINE:1
> Possible canditates are...
> filename line:size busy function type and name
> *** Interpreter error recovered ***
>
> I can still access memberfunctions of mo.
>
> Is this intended? And why the warnings?
>
> Best Wishes
> Selim
>
> --
> Selim Issever | Tel: 040 8998-2843 +- It's lucky you're going so -
> DESY-F15 | Fax: 040 8998-4033 +- slowly, because you're going
> Notkestr. 85 | selim.issever@desy.de +- in the wrong direction. ---
> 22603 Hamburg/Germany | http://www.physik.uni-dortmund.de/~issevers