Problem 340

Summary: Redefinition of G4LowEnergyIonisation class is confusing compiler
Product: Geant4 Reporter: clehner
Component: configAssignee: Maria.Grazia.Pia
Status: CLOSED INVALID    
Severity: major CC: Vladimir.Ivantchenko
Priority: P2    
Version: 4.0   
Hardware: PC   
OS: Linux   

Description clehner 2002-01-15 08:45:31 CET
I am running GEANT4.4.0 with G4EMLOW0.5 on Linux. When I try to compile a
program with low energy electromagnetic processes, I get the following error:
...
Compiling physics.cc ...
In file included from src/physics.cc:110:
/home/clehner/geant4/geant4.4.0/source/processes/electromagnetic/lowenergy/include/G4LowEnergyIonisation.hh:72:
redefinition of `class G4LowEnergyIonisation'
~/geant4/geant4.4.0/source/processes/electromagnetic/lowenergy/include/G4LowEnergyIonisation.hh:72:
previous definition here
~/geant4/geant4.4.0/source/processes/electromagnetic/lowenergy/include/G4LowEnergyIonisation.hh:121:
confused by earlier errors, bailing out
gmake: *** [pwd/tmp/Linux-g++/main_ex2/physics.o] Error 2

The same user code will compile without errors using GEANT4.3.0 and G4EMLOW0.3.
Comment 1 Hans-Peter.Wellisch 2002-01-21 02:34:59 CET
Energy loss is in the electromagnetic categories. I'll forward....
Comment 2 pia 2002-02-01 05:47:59 CET
One of the group developers (V. Ivanchenko) asked the user for further
information on the problem report, but in 10 days we have received no further
reply from the user.
We cannot reproduce the problem in our testing environment.

Best regards,
Maria Grazia Pia