Hi All, One thing that is "wrong" that I spent a lot of time on once, is that it's missing the enclosing { }. Wouldn't it be better if CINT just assumed such braces around all imported or executed files? I think that might save a lot of newbie-frustration hours. When I enclose the file in {}, I get a much more helpful error message, but can't help from there. Alexander wrote: > 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