[ROOT] GEANT4.4.0 - ROOT 3.02/07

From: Valentin Kozlov (Valentin.Kozlov@cern.ch)
Date: Mon Jun 17 2002 - 11:22:24 MEST


Hello , ROOTers

I have some strange troubles with GEANT4.4.0 - ROOT 3.02/07
combination. I have a program which works in the following cases:
1) GEANT4.3.2 - ROOT 3.01/06
2) GEANT4.3.2 - ROOT 3.02/07 (!)
3) GEANT4.4.0 - ROOT 3.01/06 (!)
but not in GEANT4.4.0 - ROOT 3.02/07... And the error message is:

/usr/local/root.302/include/TMath.h: In function `static Int_t TMath::Finite(double)':
/usr/local/root.302/include/TMath.h:391: `finite' undeclared (first use this function)
/usr/local/root.302/include/TMath.h:391: (Each undeclared identifier is reported only once
/usr/local/root.302/include/TMath.h:391: for each function it appears in.)
/usr/local/root.302/include/TMath.h:391: warning: control reaches end of non-void function `TMath::Finite(double)'
/usr/local/root.302/include/TMath.h: In function `static Int_t TMath::IsNaN(double)':
/usr/local/root.302/include/TMath.h:394: `isnan' undeclared (first use this function)
/usr/local/root.302/include/TMath.h:394: warning: control reaches end of non-void function `TMath::IsNaN(double)'

as I understand the functions "finite" and "isnan" are discribed in
math.h as well as "log,sin,cos,..." but there is no probleme with them
and there is the probleme with "isnan" and "finite". I had a look on
TMath.h file of ROOT and compared the version 3.01/06 and 3.02/07. The
difference is that these "IsNaN" and "Finite" functions were added.
But still 3.02/07 works Ok with GEANT4.3.2

What can it be?

P.S. I am using SuSE 7.2 Linux with gcc version 2.95.3 20010315 (SuSE)


Best regards,  
-----------------------------------------------
Valentin Kozlov
Instituut voor Kern -en Stralingsfysica
Katholieke Universiteit Leuven
Celestijnenlaan 200D, B-3001 Leuven, Belgium
Tel.: +32 (0)16 32 72 66
Fax : +32 (0)16 32 79 85
E-mail: Valentin.Kozlov@fys.kuleuven.ac.be
-----------------------------------------------



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