RE:[ROOT] Bug in rootcint

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Mon Apr 24 2000 - 13:11:21 MEST


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



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