Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5522: [foreach] Warning with gcc-4.6.0 and -Wconversion
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-05-29 15:35:25
#5522: [foreach] Warning with gcc-4.6.0 and -Wconversion
--------------------------------------+-------------------------------------
Reporter: sefi@⦠| Owner: eric_niebler
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: foreach
Version: Boost Development Trunk | Severity: Problem
Resolution: wontfix | Keywords:
--------------------------------------+-------------------------------------
Changes (by eric_niebler):
* status: new => closed
* resolution: => wontfix
Comment:
I believe gcc is warning about perfectly valid code. There is no other way
to detect const rvalues in C++98 that I'm aware of. I don't know how to
fix this, and using `_Pragma` to suppress the warning didn't work. I'm
sorry, I don't think this is fixable.
If you come up with a patch, please reopen this ticket. Thanks.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5522#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC