Hi Wolgang, I do not see this problem with gcc2.96 on RH7.1. The functions finite and isnan are defined in <float.h> Could you check your include path and look inside float.h to see if these functions are defined in your system? Rene Brun Wolfgang Korsch wrote: > > Dear Rooters, > I get the following error after I upgraded to 3.02/06: > > Compiling DefineHists.cc ... > In file included from /usr2/korsch/cern/root/include/TString.h:31, > from /usr2/korsch/cern/root/include/TClass.h:28, > from /usr2/korsch/cern/root/include/TVirtualHistPainter.h:25, > from /usr2/korsch/cern/root/include/TH1.h:25, > from include/DefineHists.hh:7, > from src/DefineHists.cc:1: > /usr2/korsch/cern/root/include/TMath.h: In function `Int_t > TMath::Finite (double)': > /usr2/korsch/cern/root/include/TMath.h:387: `finite' undeclared (first use this > function) > /usr2/korsch/cern/root/include/TMath.h:387: (Each undeclared identifier is > repor > ted only once for each > function it appears in.) > /usr2/korsch/cern/root/include/TMath.h: In function `Int_t TMath::IsNaN > (double)': > /usr2/korsch/cern/root/include/TMath.h:390: `isnan' undeclared (first use this > f > unction) > > The following includes are in my header file: > > #include <string> > #include <iomanip> > > #include "TH1.h" > #include "TNtuple.h" > #include "TTree.h" > > Do I have to include some additional (C??) headers? > > I use gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85). > > Thanks. > > Wolfgang
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:12 MET