Problem 190

Summary: Problem compiling with egcs-2.91.66
Product: Geant4 Reporter: samit_basu
Component: processes/electromagneticAssignee: Michel.Maire
Status: RESOLVED INVALID    
Severity: minor    
Priority: P2    
Version: other   
Hardware: PC   
OS: Linux   

Description samit_basu 2001-01-14 20:43:29 CET
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
Comment 1 Gabriele Cosmo 2001-01-19 08:32:59 CET
We cannot reproduce this problem and we use the same compiler version.
The code looks correct. Some problems of preprocessing ?