[ROOT] [ROOT 3.03/08] problems with foreign template classes which have several parameters

From: David Chamont (david.chamont@poly.in2p3.fr)
Date: Wed Sep 04 2002 - 13:15:45 MEST


Hi rooters,

I moved to ROOT 3.03/08 and encounter problems with
foreign template classes which have several parameters.
These classes have no ClassDef/ClassImp, yet they are
included in some of my persistent classes, so I put a
"pragma link ..." for them in the LinkDef (Am I right ?).
This results in a compilation failure of the generated
dictionary :

  Dict.cc:229: macro `R__GenerateInitInstance' used with too many (2) args
  Dict.cc:229: parse error before `)

The line 229 is something like :

  R__GenerateInitInstance(const Class1<Arg1,Arg2>) ;

At first sight, the macro simply interpret the comma for itself,
and surely this line should not have been generated like this.

Someone else has observed this ?
Am i doing something wrong ?
Any trick to avoid the problem ?

David Chamont.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:06 MET