First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 215572
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bert Karwatzki <spasswolf@web.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 215572 depends on: Show dependency tree
Bug 215572 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-31 13:08 0000
Compiling sci-libs/libqalculate-0.9.6-r1 with gcc-4.3.0 from portage gives
following error:
Number.cc:608: error: 'INT_MAX' was not declared in this scope

Reproducible: Always




This patch solves the problem:
diff -aur libqalculate.old/Number.cc libqalculate/Number.cc
--- libqalculate.old/Number.cc  2008-03-29 19:47:00.000000000 +0100
+++ libqalculate/Number.cc      2008-03-29 19:49:47.000000000 +0100
@@ -15,6 +15,7 @@
 #include "Calculator.h"

 #include <sstream>
+#include <climits>
 #include "util.h"

 #define REAL_PRECISION_FLOAT_RE(x)             cln::cl_float(cln::realpart(x),
cln::float_format(PRECISION + 1))

------- Comment #1 From Markus Dittrich 2008-04-01 12:53:29 0000 -------
Thanks much for the note + patch. I'll have a look
at it later.

Best,
Markus

------- Comment #2 From Markus Dittrich 2008-04-01 15:20:48 0000 -------
Fixed in portage cvs.

Thanks,
Markus

First Last Prev Next    No search results available      Search page      Enter new bug