[GiNaC-devel] make check failed
Alexei Sheplyakov
varg at theor.jinr.ru
Tue Oct 21 08:14:40 CEST 2008
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 at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-devel/attachments/20081021/6df496f0/attachment.sig
More information about the GiNaC-devel
mailing list