Re: [ROOT] rootcint and gcc v3

From: Michael Kuss (kuss@pi.infn.it)
Date: Fri Oct 25 2002 - 22:23:32 MEST


> 
> Yep. As has been discussed several times on the mailing list, CINT can
> only instantiate certain template arguments to std::vector. As you have
> found, the most glaring omission is the unsigned versions of built-in
> types. I think it is a shame that rootcint cannot simply ignore these,
> but it seems like problems with STL will be around for a while. It might
> be better to use #ifndef __CINT__ guards, viz.,
> #ifndef __CINT__
> std::vector<UInt_t> m_trackIds;
> #endif
> 
> Of course, this means that the 'm_trackIds' class member is not visible
> in the interpreted version of the class, which might or might not matter
> to you.

well, matters.  However, if it is just an unsined faeture we should be
able to work-around.  And sorry, must have missed this thread, also
haven't found it in a brief search now.

What I don't understand, then why does it work with the v3.02.07 compiled
with egcs?  Some implicit type conversion to signed?

Cheers,

Michael



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