[ROOT] Bug in rootcint

From: Alexander Zvyagin (zvyagin@gamspc7.ihep.su)
Date: Fri Apr 14 2000 - 05:12:52 MEST


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:23 MET