class inheritance between compiled and i

From: $B8eF#!!@5<#(
Date: Thu Oct 23 1997 - 16:24:00 MEST


to INET:gwatts@fnal.gov

>Interpreted classes cannot derive from compiled classes
>with the current versions of ROOT and CINT. Interpreted classes
>can call compiled classes.
>We know that this is a very important limitation of the interpreter.
>However, the implementation of this feature requested by many users
>is non-trivial. The virtual table of the interpreted class

 To be precise, there are 2 problems here.

 1) First one is as Rene described, virtual table problem. There is
   no compiler independent way of solving this issue.

 2) Inheriting compiled class from interpreter should work if you 
   do not override virtual function in interpreted class. Cint 
   supports this feature. However, because of operator new/delete
   complication, doing this causes crash in ROOT/CINT. I do not
   know why we can not resolve this. 

Masaharu Goto



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