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

Subject: [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-05 15:29:25


#5522: [foreach] Warning with gcc-4.6.0 and -Wconversion
-------------------------------------+--------------------------------------
 Reporter: sefi@… | Owner: eric_niebler
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: foreach
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 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.

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