Hi, On ROOT 3.00/06 RH6.1/i386 I have met the following problems with rootcint. 1. With the following ComplexLinkDef.h : ----------------------------------------------------------------- #ifdef __CINT__ #pragma link off all typedefs; #pragma link off all globals; #pragma link off all functions; #pragma link off all classes; #ifdef ROOTROOT #pragma link C++ class Complex<float>; #pragma link C++ class Complex<double>; #else #pragma link C++ class Complex<float>-!; #pragma link C++ class Complex<double>-!; #endif #endif ----------------------------------------------------------------- I get (regardless whether the ROOTROOT is defined, or not) : ----------------------------------------------------------------- [GSL]$ rootcint -f G__Complex.cxx Complex.hxx ComplexLinkDef.h Class Complex<float>: Streamer() not declared Class Complex<float>: ShowMembers() not declared Class Complex<float>: Class_Name() and initialization object not declared Class Complex<double>: Streamer() not declared Class Complex<double>: ShowMembers() not declared Class Complex<double>: Class_Name() and initialization object not declared Class Complex<float>: Streamer() not declared Class Complex<float>: ShowMembers() not declared Class Complex<float>: Class_Name() and initialization object not declared Class Complex<double>: Streamer() not declared Class Complex<double>: ShowMembers() not declared Class Complex<double>: Class_Name() and initialization object not declared ----------------------------------------------------------------- Thus ALL pragmas are seen (regardless of whether ROOTROOT is defined, or not). 2. The "manual" page as given by "rootcint -?" claims : rootcint [-f] AxisDict.cxx [-c] TAttAxis.h[{+,-}][!] ... [LinkDef.h] but I get (with the ComplexLinkDef.h file from point 1.) : ----------------------------------------------------------------- [GSL]$ rootcint -f G__Complex.cxx Complex.hxx-! ComplexLinkDef.h Error: cannot open file "Complex.hxx-!" FILE: LINE:0 Error: no such template Complex<float> FILE: LINE:0 Error: no such template Complex<double> FILE: LINE:0 Error: no such template Complex<float> FILE: LINE:0 Error: no such template Complex<double> FILE: LINE:0 ----------------------------------------------------------------- Best regards, Jacek.
This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:51:24 MEST