Boost logo

Boost :

Subject: Re: [boost] [1.47.0] Regression test failures
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2011-06-29 13:48:31

Beman Dawes wrote:
> The following are failing on critical platforms (Darwin/Linux/Windows
> with recent GCC or VC++ releases):
> assign
> conversion
> multi_array
> optional
> python
> regex
> type_traits
> wave
> See
> My personal opinion is that we can't ship 1.47.0 until the number of
> failures is dramatically reduced.

Hi Boost.Ratio is failing on gcc 4.6.0.

I reported this failure long time ago, and proposed a patch on the MPL
library. Is suspect it is too late to apply the path. The tests are failing
because they uses the highest/lowest integer value, but I think this is not
blocking the library usability. Should I mark gcc 4.6 as unasable?


Report Time: Wed, 29 Jun 2011 16:43:45 +0000

Compile [2011-06-29 08:33:31 UTC]: fail

    "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -fPIC
-Wextra -Wno-long-long -pedantic -DBOOST_ALL_NO_LIB=1

In file included from ../boost/mpl/integral_c.hpp:32:0,
                 from ../boost/ratio/detail/mpl/abs.hpp:15,
                 from ../boost/ratio/ratio.hpp:36,
                 from ../boost/ratio/mpl/equal_to.hpp:12,
../boost/mpl/aux_/integral_wrapper.hpp: In instantiation of
???mpl_::integral_c<long int, 9223372036854775807l>???:
../boost/ratio/detail/mpl/abs.hpp:38:29: instantiated from
???boost::mpl::abs_tag&lt;mpl_::integral_c&lt;long int,
9223372036854775807l&gt; >???
../boost/ratio/detail/mpl/abs.hpp:44:8: instantiated from
???boost::mpl::abs&lt;mpl_::integral_c&lt;long int, 9223372036854775807l&gt;
../boost/ratio/detail/mpl/abs.hpp:58:8: instantiated from
???boost::mpl::abs_c<long int, 9223372036854775807l>???
../boost/ratio/ratio.hpp:79:74: instantiated from ???const intmax_t
boost::ratio<9223372036854775807l, 1l>::ABS_N???
../boost/ratio/ratio.hpp:81:5: instantiated from
???boost::ratio<9223372036854775807l, 1l>???
../boost/mpl/aux_/preprocessed/gcc/equal_to.hpp:60:29: instantiated from
???boost::mpl::equal_to_tag&lt;boost::ratio&lt;9223372036854775807l, 1l&gt;
../boost/mpl/aux_/preprocessed/gcc/equal_to.hpp:67:8: instantiated from
???boost::mpl::equal_to&lt;boost::ratio&lt;9223372036854775807l, 1l&gt;,
boost::ratio<9223372036854775807l, 1l> >???
instantiated from here
../boost/mpl/aux_/integral_wrapper.hpp:72:96: warning: integer overflow in
expression [-Woverflow]
../boost/mpl/aux_/integral_wrapper.hpp:72:96: error: overflow in constant
expression [-fpermissive]
../boost/mpl/aux_/integral_wrapper.hpp:72:96: note: in template argument for
type ???long int???

View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at