rootcint core dumping

From: Andy Salnikov (AASalnikov@lbl.gov)
Date: Fri Jul 30 1999 - 22:39:55 MEST


  Hi rooters,

  another trouble which I got with rootcint. Again the problem can be
reproduced with extremely simple class:

// AClass.hh
class AClass {
public:
  AClass() ;
  ~AClass() ;

  Trk* trk() const ;

private:
} ;

Note that "Trk" is not declared anywhere. With this I get an immediate
core dump in rootcint:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
salnikov@percheron [170] rootcint -t AClass.h
 -t : trace execution
LOADING file=AClass.h:AClass.h:
Segmentation fault (core dumped)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

I understand that I should not do it this way, but I would prefer to get
more meaningful diagnostics about forgotten declarations. Is it possible
to do at all?

The problem appears both on Solaris and OSF, with 2.22/08-09.

  Cheers,
  Andy.



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