Re: bug?

Masaharu Goto (gotom@hpyiddq.jpn.hp.com)
Thu, 30 Oct 1997 8:04:04 JST


Hello,

There are 2 limitations regarding following code.

1) class can not be defined within a function.
2) interpreted class can not inherit from compiled class

For 2), I might find a solution for enabling this except for correct
resolution of virtual function. For the time being, pleave avoid
using these.

Masaharu Goto

>
> What is wrong in the next file?
>
> file test.c
> --------------------------------------------------------------------------
> void test(void)
> {
> TFile file1("file.root","RECREATE","This is title!",9);
>
> class GENERATOR : public TObject
> {
> } g;
> }
> --------------------------------------------------------------------------
>
> root [0] .x test.c
>
> *** Break *** segmentation violation
>
>
> Thanks,
> Alexander Zvyagin.
>