Boost logo

Boost :

Subject: Re: [boost] [foreach] Warning with gcc-4.6.0 and -Wconversion
From: Eric Niebler (eric_at_[hidden])
Date: 2011-05-05 10:16:00

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.

Eric Niebler
BoostPro Computing

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