Boost logo

Boost :

From: Phil Richards (news_at_[hidden])
Date: 2006-10-24 14:51:04

On 2006-10-24, Douglas Gregor <dgregor_at_[hidden]> wrote:
> Boost Regression test failures
> Report time: 2006-10-24T10:41:49Z
> |mpl|
> multiset: gcc-4.0.3_linux gcc-4.1.0_linux gcc-4.1.0_linux_x86_64 gcc-4.1.1_sunos_i86pc gcc-4_0_3_tru64

These are not going to go away unless either:
1. they are marked as expected
2. the test is reworked to avoid the problem
3. the macro BOOST_MPL_ASSERT_RELATION is reworked to avoid the problem


The macro is:
    #define BOOST_MPL_ASSERT(pred) \
    enum { \
        BOOST_PP_CAT(mpl_assertion_in_line_,__LINE__) = sizeof( \
              boost::mpl::assertion_failed<false>( \
                  boost::mpl::assert_arg( (void (*) pred)0, 1 ) \
                ) \
            ) \

It is apparently to do with the enum usage... I'm guessing
there is a good reason why this code (and others in the
boost/mpl/assert.hpp) uses enum directly rather than


change name before "@" to "phil" for email

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