Hi roottalk --
I notice that TTree::MakeSelector() creates ill-defined code when the tree contains a branch that was created with a trailing dot (root 4.02.00. Similar to the MakeClass() error I sent out a few weeks ago):
#include <TTree.h>
struct C { };
void makeselector()
{
C c, *cp(&c);
TTree *t = new TTree("mytree", "tree", 10000);
t->Branch("c.", "C", &cp); t->Fill(); t->MakeSelector("ill_defined");
the generated file ill_defined.h will then contain:
// Declaration of leave types
C *c.;
cheers,
troy d. straszheim Received on Wed Jan 05 2005 - 14:34:33 MET
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET