Adding the #include <limits> doesn't solve the problem:
[vmarouss_at_Ezhik-HDX18 math]$
[vmarouss_at_Ezhik-HDX18 math]$ root
- *
- W E L C O M E to R O O T *
- *
- Version 5.26/00b 9 February 2010 *
- *
- You are welcome to visit our Web site *
- http://root.cern.ch *
- *
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: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:42:00 CEST