Boost logo

Boost :

Subject: Re: [boost] [any][quickbook] Recent compile failure gcc vs. clang..
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2013-05-13 06:01:20


On 11/05/13 21:14, Daniel James wrote:
> On 11 May 2013 19:25, Rene Rivera <grafikrobot_at_[hidden]> wrote:
>>
>> Seems some of the std::any conformance changes broke for the GCC included
>> in the Xcode 4.6.2.
>
> The same error is seen with '--std=c++-98':
>
> http://www.boost.org/development/tests/trunk/developer/output/DebSidC++-boost-bin-v2-libs-any-test-any_test-test-gcc-98-debug.html
>
> But regardless, I'm not sure how well gcc 4.2 will be supported in the
> future. It's a pretty old compiler.

Regardless of whether GCC 4.2 should be supported or not, in C++03 T& is
invalid if T is already a reference.

It's a good thing that GCC 4.2 could catch this issue.


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