GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Abandonware
Re: Abandonware [message #4962 is a reply to message #4959] Thu, 23 August 2007 16:00 Go to previous messageGo to previous message
Pablo Genova is currently offline  Pablo Genova
Messages: 32
Registered: May 2007
continuous participant
From: *PV.INFN.IT
Hi Stefano,

I fixed the trivial warnings due to the deprecated headers and committed to svn. Now you should see only 2 warnings, which I do not know how to fix.

One is
/data10/pablo/tmp/pandaroot/stt/CbmSttTrackFinderIdeal.cxx: In member function
`virtual Int_t CbmSttTrackFinderIdeal::DoFind(TClonesArray*)':
/data10/pablo/tmp/pandaroot/stt/CbmSttTrackFinderIdeal.cxx:202: warning: passing
`Double_t' for argument 1 of `_Tp& std::map<_Key, _Tp, _Compare,
_Alloc>::operator[](const _Key&) [with _Key = Int_t, _Tp = Int_t, _Compare =
std::less<Int_t>, _Alloc = std::allocator<std::pair<const Int_t, Int_t> >]'


and the other is

/data10/pablo/tmp/pandaroot/stt/CbmSttHelixTrackFitter.cxx: In member function
`virtual Int_t CbmSttHelixTrackFitter::DoFit(CbmSttTrack*, int)':
/data10/pablo/tmp/pandaroot/stt/CbmSttHelixTrackFitter.cxx:168: warning: NULL used in arithmetic


due to a control like (function() !=NULL).

I do not know how to fix them, I'm surprised of the latter because it is quite common that one checks if a pointer is not null, so I do not know how to keep the test but eliminate the warning.

ciao, Pablo



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: just for fun...
Next Topic: Separation of elastic and inelastic scatterings
Goto Forum:
  


Current Time: Fri Apr 26 13:56:13 CEST 2024

Total time taken to generate the page: 0.01014 seconds