GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Possible Programming Error(build fails)
Possible Programming Error(build fails) [message #12104] Tue, 21 June 2011 11:54 Go to next message
M.Babai is currently offline  M.Babai
Messages: 46
Registered: January 2008
Location: Netherlands
continuous participant
From: *KVI.nl
Dear all,

I was not able to compile pandaroot using GCC 4.6. The error comes from the file "pgenerators/PndFlatParticleGenerator.cxx"; line:167.

Looking inside the file I can see the following:

void PndFlatParticleGenerator::CalcActValues(PndRangeValues* val1, PndRangeValues* val2, PndRangeValues* val3)
{
if (val1 == 0)
  val1 = &PndRangeValues();
if (val2 == 0)
   val2 = &PndRangeValues();
if (val3 == 0)
   val3 = &PndRangeValues();
 etc. etc..........
}


I think this should be corrected by using the "new" operator. Can someone, please, have a look at this and fix this issue?

Kind wishes,
/A.

[Updated on: Tue, 21 June 2011 11:54]

Report message to a moderator

Re: Possible Programming Error(build fails) [message #12105 is a reply to message #12104] Tue, 21 June 2011 12:56 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Dear Mohammad,

I have made the changes and uploaded them, but I did not test the functionality of the generator.

Please test it if it compiles for you now.

Cheers,

Tobias
Re: Possible Programming Error(build fails) [message #12106 is a reply to message #12105] Tue, 21 June 2011 13:13 Go to previous message
M.Babai is currently offline  M.Babai
Messages: 46
Registered: January 2008
Location: Netherlands
continuous participant
From: *KVI.nl
Hi Tobias,

Thank you.
It compiles now fine, Smile. I will run a clean dashboard build now.

Cheers,
M
Previous Topic: UPDATE: TPC MVD and GEM correlators
Next Topic: Tutorial for analysis macros on the GRID
Goto Forum:
  


Current Time: Fri Jan 27 19:20:21 CET 2023

Total time taken to generate the page: 0.00663 seconds