Boost logo

Boost :

Subject: Re: [boost] [array] failures in c++11 mode
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2013-02-14 11:16:23


On Feb 14, 2013, at 7:41 AM, Tim Blechmann <tim_at_[hidden]> wrote:

>>>> the boost.heap testsuite exposes this failure:
>>>> http://www.boost.org/development/tests/trunk/developer/output/Sandia-gcc-4-7-1-c++11-boost-bin-v2-libs-heap-test-skew_heap_test-test-gcc-4-7-1_c++11-debug-threading-multi.html
>> Interesting.
>> Which compiler are you using?
>
> i'm on gcc-4.7. but the testfarm shows this issue on 4.6, too.

Ok; downloading gcc 4.7 to build and try.

The routine that gcc is complaining about "not having a return", btw is:

        BOOST_CONSTEXPR const_reference operator[](size_type i) const
        {
            return BOOST_ASSERT_MSG( i < N, "out of range" ), elems[i];
        }

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


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