Get the following error when attempting to built Geant4.3 libraries: [basu]$ make Compiling G4IMuPairProduction.cc ... src/G4IMuPairProduction.cc: In method `G4VParticleChange *G4IMuPairProduction::PostStepDoIt (const G4Track &, const G4Step &)': src/G4IMuPairProduction.cc:1353: parse error before `:' src/G4IMuPairProduction.cc:1357: confused by earlier errors, bailing out make: *** [/home/basu/Geant4/tmp/Linux-g++/G4muons/G4IMuPairProduction.o] Error 1 Putting an extra pair of parenthesis around the G4std::min() seemed to fix it. Samit
We cannot reproduce this problem and we use the same compiler version. The code looks correct. Some problems of preprocessing ?