class inheritance between compiled and i

=?ISO-2022-JP?B?GyRCOGVGIyEhQDU8IxsoQg==?= (MXJ02154@niftyserve.or.jp)
Thu, 23 Oct 1997 23:24:00 +0900


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