[pkg-boost-devel] Bug#470080: boost: Causes other packages to FTBFS: INT_MAX not declared

Dominic Hargreaves dom at earth.li
Sun Mar 9 01:11:00 UTC 2008


Package: boost
Version: 1.34.1-7
Severity: important
Tags: patch

When fixing mapnik's own gcc 4.3 issues, I discovered this one still
remaining in boost.

This relates to INT_MAX not being declared - fix as below

--- boost_1_34_1/boost/spirit/phoenix/operators.hpp     2006-08-25 17:27:30.000000000 +0100
+++ boost_1_34_1.fixed/boost/spirit/phoenix/operators.hpp       2008-03-09 01:08:50.000000000 +0000
@@ -25,6 +25,8 @@
 #include <boost/config.hpp>
 #include <boost/mpl/if.hpp>
 
+#include <climits>
+
 ///////////////////////////////////////////////////////////////////////////////
 namespace phoenix {
 

Thanks,

Dominic.





More information about the pkg-boost-devel mailing list