Ticket #5522 (reopened Patches)
[foreach] Warning with gcc-4.6.0 and -Wconversion
|Reported by:||sefi@…||Owned by:||eric_niebler|
|Milestone:||To Be Determined||Component:||foreach|
|Version:||Boost Development Trunk||Severity:||Problem|
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.
- Status changed from new to closed
- Resolution set to wontfix