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

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Oct 01 1998 - 09:37:09 MEST


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



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