Re: bug?

From: Masaharu Goto (gotom@hpyiddq.jpn.hp.com)
Date: Thu Oct 30 1997 - 00:04:04 MET


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.
> 



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