Re: [Boost-bugs] [Boost C++ Libraries] #7888: circular_buffer should support move semantics

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7888: circular_buffer should support move semantics
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-12 21:28:31


#7888: circular_buffer should support move semantics
-------------------------------+------------------------------------------
  Reporter: holmes@… | Owner: apolukhin
      Type: Feature Requests | Status: closed
 Milestone: To Be Determined | Component: circular_buffer
   Version: Boost 1.52.0 | Severity: Problem
Resolution: fixed | Keywords: circular_buffer move emplace
-------------------------------+------------------------------------------

Comment (by pbf@…):

 This change has unfortunately introduced fresh warnings when building
 against boost 1.55 using VisualStudio 2010 with warning level 4. I now
 see:

 1>C:\src\svn\OTI\ThirdParty\boost_1_55_0_OT1\include\boost/circular_buffer/base.hpp(199):
 warning C4172: returning address of local variable or temporary

 Likewise, building using gcc 4.4.7 on RedHat produces the following
 warning:

 /media/sf_C_DRIVE/src/svn/OTI/ThirdParty/boost_1_55_0_OT1/include/boost/circular_buffer/base.hpp:2157:
 error: suggest parentheses around ‘&&’ within ‘||’

 Shall I open a new ticket for this issue? Unfortunately it's causing my
 builds to break, since I build with warnings-as-errors on both platforms.
 I'll need to either disable the warnings, or fix the problems.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7888#comment:18>
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:14 UTC