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