mathmoreIntegration.C : error: ‘numeric_limits’ is not a member of ‘std’

From: Vassili Maroussov <Vassili.Maroussov_at_cern.ch>
Date: Wed, 16 Jun 2010 16:24:48 +0200


Dear ROOTers,

I couldn't run the tutorials/math/mathmoreIntegration.C example. The session transcript follows... Is it the STL or ROOT problem?

Regards,

Vassili

[vmarouss_at_Ezhik-HDX18 math]$ pwd
/usr/local/ROOT/5.26.00b/tutorials/math

[vmarouss_at_Ezhik-HDX18 math]$
[vmarouss_at_Ezhik-HDX18 math]$ g++ -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man

--infodir=/usr/share/info 
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap 
--enable-shared --enable-threads=posix --enable-checking=release 
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions 
--enable-gnu-unique-object 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada 
--enable-java-awt=gtk --disable-dssi --enable-plugin 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre 
--enable-libgcj-multifile --enable-java-maintainer-mode 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic 
--with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC) [vmarouss_at_Ezhik-HDX18 math]$
[vmarouss_at_Ezhik-HDX18 math]$ root

ROOT 5.26/00b (tags/v5-26-00b_at_32327, Feb 11 2010, 14:21:13 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] .x mathmoreIntegration.C+
Info in <TUnixSystem::ACLiC>: creating shared library
/usr/local/ROOT/5.26.00b/tutorials/math/./mathmoreIntegration_C.so
In file included from
/usr/local/ROOT/5.26.00b/tutorials/math/./mathmoreIntegration_C_ACLiC_dict.h:33,

                  from 

/usr/local/ROOT/5.26.00b/tutorials/math/./mathmoreIntegration_C_ACLiC_dict.cxx:16:
/usr/local/ROOT/5.26.00b/tutorials/math/./mathmoreIntegration.C: In
function ‘void DrawCumulative(double, double, int)’:
/usr/local/ROOT/5.26.00b/tutorials/math/./mathmoreIntegration.C:141:
error: ‘numeric_limits’ is not a member of ‘std’
/usr/local/ROOT/5.26.00b/tutorials/math/./mathmoreIntegration.C:141:
error: expected primary-expression before ‘double’ In file included from
/usr/local/ROOT/5.26.00b/tutorials/math/./mathmoreIntegration.C:22,
                  from 

/usr/local/ROOT/5.26.00b/tutorials/math/./mathmoreIntegration_C_ACLiC_dict.h:33,
from

/usr/local/ROOT/5.26.00b/tutorials/math/./mathmoreIntegration_C_ACLiC_dict.cxx:16:
/usr/local/ROOT/5.26.00b/include/Math/Functor.h: In member function
‘double ROOT::Math::FunctorHandler<ParentFunctor, Func>::DoEval(double) const [with ParentFunctor = ROOT::Math::Functor1D, Func = Double_t (*)(Double_t, Double_t, Double_t)]’:
/usr/local/ROOT/5.26.00b/tutorials/math/./mathmoreIntegration_C_ACLiC_dict.cxx:396:
instantiated from here
/usr/local/ROOT/5.26.00b/include/Math/Functor.h:82: error: too few
arguments to function
g++:
/usr/local/ROOT/5.26.00b/tutorials/math/./mathmoreIntegration_C_ACLiC_dict.o:
No such file or directory
Error in <ACLiC>: Compilation failed!
Error: Function mathmoreIntegration() is not defined in current scope :0: *** Interpreter error recovered ***
root [1] .q Received on Wed Jun 16 2010 - 16:24:53 CEST

This archive was generated by hypermail 2.2.0 : Wed Jun 16 2010 - 17:50:01 CEST