Re: [Boost-bugs] [Boost C++ Libraries] #5522: [foreach] Warning with gcc-4.6.0 and -Wconversion

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: 2014-02-18 20:42:35


#5522: [foreach] Warning with gcc-4.6.0 and -Wconversion
--------------------------------------+--------------------------
  Reporter: sefi@… | Owner: eric_niebler
      Type: Patches | Status: reopened
 Milestone: To Be Determined | Component: foreach
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+--------------------------
Changes (by anonymous):

 * status: closed => reopened
 * type: Bugs => Patches
 * resolution: wontfix =>

Comment:

 Replying to [comment:2 eric_niebler]:
> 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.

 Reopened, see previous comment

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5522#comment:4>
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:15 UTC