Re: [ROOT] Geant4 and ROOT compilation error...

From: Volker Hejny (V.Hejny@fz-juelich.de)
Date: Sun Jan 13 2002 - 16:32:21 MET


Hi,

I observed the same when moving from G4.3.2 to G4.4.0. You find the
reason for that behaviour in the system specific config file
geant4.4.0/config/sys/Linux-g++.gmk (I suppose you are also using
Linux), lines 7 and 8.

In the new version, the options -ansi and -pedantic are used in
addition. Obviously, there is something in the ROOT header file,
TMath.h, which is not completely ansi compliant. If you comment out 
line 7 and use line 8 instead, everything will compile as before.

Best regards,
Volker

-- 
Dr. Volker Hejny                Tel: 02461/616853                      ** 
Institut f. Kernphysik          Fax: 02461/613930                     **
---------------------------------------------------------------- **  ** ---  
Forschungszentrum Juelich GmbH, D-52425 Juelich                    **



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:38 MET