Problem 678

Summary: can't compile geant4.6.2.p01 using gcc version 3.4.2
Product: Geant4 Reporter: korsch
Component: configAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED DUPLICATE    
Severity: critical CC: korsch
Priority: P5    
Version: 6.2   
Hardware: PC   
OS: Linux   

Description korsch 2004-10-12 16:34:16 CEST
I was able to compile geant4.6.2.p01 using gcc 3.3 (fedora core 2).
I recently upgraded to gc 3.4.2, since an increase is speed is expected for
this compiler. Now I get the following error message (several times, I only
list the first instance):

===============================================================================
Compiling G4NavigationHistory.cc ...
/usr/local/cern/geant4/source/global/management/include/G4Allocator.hh: In
member function `void G4Allocator<Type>::FreeSingle(Type*) [with Type =
G4NavigationLevelRep]':
include/G4NavigationLevelRep.icc:185:   instantiated from here
/usr/local/cern/geant4/source/global/management/include/G4Allocator.hh:165:
error: aggregate value used where an integer was expected
/usr/local/cern/geant4/source/global/management/include/G4Allocator.hh: In
member function `void G4Allocator<Type>::FreeSingle(Type*) [with Type =
G4NavigationLevel]':
include/G4NavigationLevel.icc:143:   instantiated from here
/usr/local/cern/geant4/source/global/management/include/G4Allocator.hh:165:
error: aggregate value usedwhere an integer was expected
gmake[2]: ***
[/usr/local/cern/geant4/tmp/Linux-g++/G4volumes/G4NavigationHistory.o] Error 1
===============================================================================

I have no idea what to do. Any help is highly appreciated.

Thanks a lot,
Wolfgang
Comment 1 Gabriele Cosmo 2004-10-13 01:48:59 CEST
gcc-3.4.X is not supported for geant4 6.2 (read the release notes for the list
of the supported compilers). Future releases of Geant4 will be ported on the new
gcc compiler.
Comment 2 Gabriele Cosmo 2004-10-13 01:48:59 CEST
gcc-3.4.X is not supported for geant4 6.2 (read the release notes for the list
of the supported compilers). Future releases of Geant4 will be ported on the new
gcc compiler.