|
Boost : |
Subject: Re: [boost] [foreach] Warning with gcc-4.6.0 and -Wconversion
From: Philipp Reh (sefi_at_[hidden])
Date: 2011-05-05 11:32:01
Eric Niebler wrote:
> On 5/4/2011 9:29 PM, Philipp Reh wrote:
>> gcc-4.6.0 made Boost.foreach unusable in 1.46.1 because the rvalue
>> detection no longer works. Now, there is a fix in trunk for it but it has
>> a nasty side effect, namely a warning that is emitted whenever foreach is
>> used with an rvalue and -Wconversion is turned on.
>
> Thanks for the report. Please file a bug. Patches are gladly accepted.
>
Hi Eric,
I filed a bug report but sadly I don't know how to fix this.
https://svn.boost.org/trac/boost/ticket/5522
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk