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

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Sun Jan 13 2002 - 18:07:17 MET


Hi Volker,

  thanks, I'll investigate and fix it.

Cheers, Fons.


On Sun, Jan 13, 2002 at 04:32:21PM +0100, Volker Hejny wrote:
> 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                    **

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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