Re: [ROOT] root patch for 3.03.08 gcc on SunOS

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Sep 21 2002 - 10:59:51 MEST


Hi Eddy,

It is funny that this include is required for solarisgcc!
Is Pat using an old version of gcc?
Anyhow, I have included this line and tested that it works OK
on all our supported platforms.

Rene Brun

On Fri, 20 Sep 2002, Eddy Offermann wrote:

> > Hi Eddy,
> > 
> > Can you submit the following patch, which allows me to compile root cleanly on 
> > solarisgcc.  I have tested it under solarisCC5, but not else where, but it 
> > should work clean everywhere.
> > 
> > Pat
> > 
> > diff -r -c root/base/inc/TBuffer.h root.good/base/inc/TBuffer.h
> > *** root/base/inc/TBuffer.h     Tue Jul 23 07:11:26 2002
> > --- root.good/base/inc/TBuffer.h        Fri Sep 20 17:27:58 2002
> > ***************
> > *** 231,236 ****
> > --- 231,239 ----
> > 
> >    #if !defined(R__CONCRETE_INPUT_OPERATOR)
> >    #ifndef __CINT__
> > +
> > + #include <typeinfo>
> > +
> >    template <class Tmpl> TBuffer &operator>>(TBuffer &buf, Tmpl *&obj)
> >    {
> >       // Read TObject derived classes from a TBuffer. Need to provide
> > 
> > 
> 



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