Dear Vladimir, On Mon, Oct 20, 2008 at 11:08:31PM +0100, Vladimir V. Kisil wrote:
I pulled a unstable version of GiNaC today. I was able to compile GiNaC, however "make check" failed with the following errors:
exam_cra.cpp: In function 'int main(int, char**)': exam_cra.cpp:72: error: 'numeric_limits' is not a member of 'std' exam_cra.cpp:72: error: expected primary-expression before '(' token exam_cra.cpp:72: error: 'numeric_limits' is not a member of 'std' exam_cra.cpp:72: error: expected primary-expression before 'int' exam_cra.cpp:76: error: 'numeric_limits' is not a member of 'std' exam_cra.cpp:76: error: expected primary-expression before '(' token exam_cra.cpp:76: error: 'numeric_limits' is not a member of 'std' exam_cra.cpp:76: error: expected primary-expression before 'long'
Could you please try the patch below? From: Alexei Sheplyakov <varg@theor.jinr.ru> Subject: [PATCH] exam_cra: explicitly #include <limits>. This should make g++ 4.3 happy. --- check/exam_cra.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/check/exam_cra.cpp b/check/exam_cra.cpp index 11e1ab7..2c6163e 100644 --- a/check/exam_cra.cpp +++ b/check/exam_cra.cpp @@ -7,6 +7,7 @@ #include <map> #include <vector> #include <stdexcept> +#include <limits> using namespace cln; using namespace std; -- 1.5.6.5 Best regards, Alexei -- All science is either physics or stamp collecting.