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))
Thanks much for the note + patch. I'll have a look at it later. Best, Markus
Fixed in portage cvs. Thanks, Markus