Boost logo

Boost :

Subject: Re: [boost] [1.46] Last few merges needed?
From: Joachim Faulhaber (afojgo_at_[hidden])
Date: 2011-01-27 10:51:49


>> Is there likely to be a window when these changes can be merged - maybe
>> between beta and release?

I have encountered a problem today that I would like to fix and merge
before release:

When preceded by the include
#include <boost/thread.hpp>

Boost.Icl code
#include <boost/icl/some_icl_file.hpp>

does not compile anymore. The problem could be located in macro code:

BOOST_STATIC_CONSTANT(bool,
    value = (interval_bound_type<Type>::value
            < icl::interval_bounds::undefined));

This bug obviously would be very annoying to users, who want to use
Boost.Icl together with Boost.Tread.

The fix is very tiny and trivial

BOOST_STATIC_CONSTANT(bool,
    value = ((interval_bound_type<Type>::value)
            < icl::interval_bounds::undefined));

parentheses around a subexpression in two lines.

I've just committed that fix to the trunk after testing locally.

So I'd like to ask for permission to merge this small fix to the release branch.

Regards,
Joachim


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk