[Boost-bugs] [Boost C++ Libraries] #7025: circular buffer reports warning: " type qualifiers ignored on function return type" while compile.

Subject: [Boost-bugs] [Boost C++ Libraries] #7025: circular buffer reports warning: " type qualifiers ignored on function return type" while compile.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-26 02:38:50


#7025: circular buffer reports warning: " type qualifiers ignored on function
return type" while compile.
-----------------------------------+----------------------------------------
 Reporter: alps_xing@… | Owner: jano_gaspar
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: circular_buffer
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: |
-----------------------------------+----------------------------------------
 If using circular in my application, GCC will report warning as:
 ../../../packages/target/libboost_1_49_0/include/boost/circular_buffer/base.hpp:386:
 warning: type qualifiers ignored on function return type
 ../../../packages/target/libboost_1_49_0/include/boost/circular_buffer/base.hpp:424:
 warning: type qualifiers ignored on function return type
 ../../../packages/target/libboost_1_49_0/include/boost/circular_buffer/base.hpp:478:
 warning: type qualifiers ignored on function return type
 ../../../packages/target/libboost_1_49_0/include/boost/circular_buffer/base.hpp:496:
 warning: type qualifiers ignored on function return type

 I think it's caused by the "const" decorator.

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