[ROOT] Bug report: Segmentation fault from rootcint

From: Liu Haitao (liuht@particle.phys.ethz.ch)
Date: Fri Sep 01 2000 - 12:16:21 MEST


Hello,

I got Segmentation fault when I use roocint to generate dictionary file.

the command is  

rootcint -f DetectorParameterDict.cxx -c DetectorParameter.h

if I use rootcint DetectorParameter.h it is OK

rootversion: 2.25/02  2.25/00

system: Linux  2.2.13-SMP  gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

DetectorParameter.h:

#ifndef DETECTORPARAMETER_HH
#define DETECTORPARAMETER_HH
#include "TObject.h"
#include "TString.h"

class  DetectorParameter :public TObject{
 public:
  DetectorParameter(){};
  DetectorParameter(bool sf, bool sa, int nl, char *s):
    field(sf),air(sa),nlayer(nl),AtomosAlgorism(s){};
   
 public:
   const bool field;
   const bool air;
   const int nlayer;
   const TString AtomosAlgorism;
 ClassDef(DetectorParameter,1)
};

#endif



With regards                        Haitao



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:32 MET