RE: [ROOT] rootcint and gcc v3

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Nov 01 2002 - 00:22:48 MET


Hi,

I am not managing to reproduce the problem :(.
Did you try with the code currently in the CVS repository?
If you did, could you send me a failing example?

Thanks,
Philippe

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Michael Kuss
Sent: Friday, October 25, 2002 3:24 PM
To: Gora Mohanty
Cc: roottalk@pcroot.cern.ch
Subject: Re: [ROOT] rootcint and gcc v3


> 
> 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:16 MET