Re: [ROOT] Bug in rootcint

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Apr 25 2000 - 12:27:17 MEST


Hi Masa,

   Philippe Canal just provided a fix for this. Will be in the next release.

Cheers, Fons.


Masaharu Goto wrote:
> 
> Hello Rene and Fons,
> 
> Can this Streamer thing be fixed in rootcint main function? Or do I
> need to change something in Cint?
> 
> Thank you
> Masaharu Goto
> 
> >
> >Dear ROOT developers,
> >
> >There is bug in generating Cint.cxx file. Please try to compile the
> >atached example.
> >
> >If I change in file LinkDef.h line
> >#pragma link C++ class TTMatrix<Float_t>;
> >to
> >#pragma link C++ class TTMatrix<float>;
> >the Cint.cxx file will be correct.
> >
> >This are error messages:
> >$ g++ -I/usr/local/root/include -c Cint.c -o Cint.o
> >Cint.c:57: redefinition of `void TTMatrix<float>::Streamer<float>(TBuffer
> >&)'
> >Cint.c:22: `void TTMatrix<float>::Streamer<float>(TBuffer &)' previously
> >defined here
> >Cint.c:71: redefinition of `void
> >TTMatrix<float>::ShowMembers<float>(TMemberInspector &, char *)'
> >Cint.c:36: `void TTMatrix<float>::ShowMembers<float>(TMemberInspector &,
> >char *)' previously defined here
> >make: *** [Cint.o] Error 1
> >
> >There is also this bug:
> >$ rootcint -f Cint.cxx
> >Segmentation fault
> >
> >I use:
> >ROOT 2.23/11,
> >CINT/ROOT C/C++ Interpreter version 5.14.25, Nov 25 1999
> >
> >With best wishes,
> >Alexander

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



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