Re: 2.22

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jun 04 1999 - 18:47:15 MEST


Jacek M. Holeczek wrote:
> 
> Hi,
> while compiling 2.22 I get the following warnings that look seriously :
> -----------------------------------------------------------------------------
> ...
> g++ -g -O2 -Wall -fPIC -DR__GLIBC -c BASE_Application.cxx
> BASE_Application.cxx: In method `void TApplication::GetOptions(int *, char **)':
> BASE_Application.cxx:283: warning: `class TObject * w' might be used uninitialized in this function
> BASE_Application.cxx:284: warning: `class TObjLink * lnk' might be used uninitialized in this function
> BASE_Application.cxx:286: warning: `const class TObjLink * this' might be used uninitialized in this function
> BASE_Application.cxx:287: warning: `class TObjLink * this' might be used uninitialized in this function
> ...

Hi Jacek,
Forget the messages above, generated incorrectly by g++ with -O2.

> Generating dictionary G3D_G__G3D.cxx... ( ... )
> Note: Link requested for undefined class TPoints3DABC  FILE: LINE:0

OK, This is a problem is the newly generated makefile. You can fix it
in the file Make-macros.
##### libGraf3d #####

GRAF3DH       = TPolyLine3D.h TPolyMarker3D.h TGeometry.h TMaterial.h \
                TMixture.h TNode.h TNodeDiv.h TRotMatrix.h TShape.h
TBRIK.h \
                TTRD1.h TTRD2.h TTUBE.h TCONE.h TCTUB.h TELTU.h TTUBS.h
\
                TCONS.h TTRAP.h TPARA.h TGTRA.h TPCON.h TPGON.h TSPHE.h
\
                TGLKernelABC.h TPadOpenGLView.h TPadView3D.h
TMarker3DBox.h \
                THelix.h THYPE.h TPoints3DABC.h
GRAF3DS1      = G3D_BRIK.cxx G3D_Marker3DBox.cxx G3D_PolyMarker3D.cxx \
                G3D_CONE.cxx G3D_Material.cxx G3D_RotMatrix.cxx \
                G3D_CONS.cxx G3D_Mixture.cxx G3D_SPHE.cxx G3D_CTUB.cxx \
                G3D_Node.cxx G3D_Shape.cxx G3D_ELTU.cxx G3D_NodeDiv.cxx
\
                G3D_TRAP.cxx G3D_GLKernelABC.cxx G3D_PARA.cxx
G3D_TRD1.cxx \
                G3D_GLViewerImp.cxx G3D_PCON.cxx G3D_TRD2.cxx
G3D_GTRA.cxx \
                G3D_PGON.cxx G3D_TUBS.cxx G3D_PadOpenGLView.cxx \
                G3D_Tube.cxx G3D_Geometry.cxx G3D_PadView3D.cxx
G3D_Helix.cxx \
                G3D_PolyLine3D.cxx G3D_HYPE.cxx G3D_Points3DABC.cxx
> ...
> Generating dictionary H_G__Hist.cxx... ( ... )
> *** Datamember TSpectrum::fPosition: pointer to fundamental type (need manual intervention)
> *** Datamember TSpectrum::fPositionX: pointer to fundamental type (need manual intervention)
> *** Datamember TSpectrum::fPositionY: pointer to fundamental type (need manual intervention)
> ...
> Generating dictionary META_G__Meta.cxx...
> Limitation: macro handled as typedef char TWin32SendClass; FILE:TCint.h LINE:33
> ...
> Generating dictionary TREE_G__Tree.cxx... ( ... )
> *** Datamember TLeafB::fValue: pointer to fundamental type (need manual intervention)
> *** Datamember TLeafI::fValue: pointer to fundamental type (need manual intervention)
> *** Datamember TLeafF::fValue: pointer to fundamental type (need manual intervention)
> *** Datamember TLeafS::fValue: pointer to fundamental type (need manual intervention)
> *** Datamember TLeafD::fValue: pointer to fundamental type (need manual intervention)
> *** Datamember TLeafC::fValue: pointer to fundamental type (need manual intervention)


Forget all the messages above. Will be removed in next iteration.
> ...
> -----------------------------------------------------------------------------
> Could you please look at them.
> I've also got a small question related to the Tree::MakeClass ( my hobby,
> lately ). What makes you think that the max. number of branches is 100 ?
> I'd rather say it's nleaves, right ? Or did I miss some king of a
> limitation in ROOT ?

The number of branches is set to 100 in the TObjArray constructor.
this is simply a guess. If you need more, the system will automatically
increase the table.

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET