Hi, On page 95 in chapter "Moving between Interpreter and Compiler" it is suggested that rootcint NEEDS "Rtypes.h" which does not really seem to be true. I think that a comprehensive "list" of files that the rootcint needs to see would be nice in this place (and a "list" of files that the cint does not like, too). For example, what I sometimes do in a class interface is : // # Required includes #ifndef __CINT__ #include <stdio.h> #include <stream.h> #include "TROOT.h" #include "TTree.h" #include "TFile.h" #include "Api.h" #else class TBranch; class TTree; class TFile; #endif Thus neither cint, NOR rootcint see these includes ("Rtypes.h" included). Such a class can then be interpreted, or compiled (into a shared library). To me it seems that rootcint needs these lines that begin with "class". Or is it cint that needs them ??? Best regards, Jacek.
This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:51:09 MEST