
5 May
2011
5 May
'11
10:06 a.m.
On Wed, May 4, 2011 at 5:29 PM, Philipp Reh <sefi@s-e-f-i.de> 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. Sadly, this warning cannot be ignored by including Boost with -isystem because the code is generated by a macro, obviously. ... I would be glad if this could be fixed somehow because -Wconversion is a crucial warning option to me.
Perhaps the new #pragma GCC diagnostic would be useful here. Yechezkel Mett