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 previous 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

 
Read Message
Read Message
Read Message
Previous Topic: UPDATE: TPC MVD and GEM correlators
Next Topic: Tutorial for analysis macros on the GRID
Goto Forum:
  


Current Time: Thu Mar 28 23:04:16 CET 2024

Total time taken to generate the page: 0.00919 seconds