A class defined in a macro cannot derive from a compiled class

Rene Brun (Rene.Brun@cern.ch)
Thu, 01 Oct 1998 09:37:09 +0200


Petar Maksimovic wrote:
>
>
> Hi Rene,
>
> as another newbie, I was greatly alarmed by the statement that
> "a class defined interactively cannot inherit from a compiled class".
> This is highly non-trivial and counter-intuitive, so I would like
> to ask you to elucidate this crucial detail in a separate posting,
> which would probably save many of us countless hours of worry and
> frustration.
>

This limitation is described at URL:
http://root.cern.ch/root/CintInterpreter.html
at the section "Macro containing a class definition"

We are hoping to remove this limitation, but this is non-trivial.
The implementation is highly compiler dependent.
This limitation is not very important in the data analysis stage,
but prevents the use of the interpreter in the code development phase.

Rene Brun