Subject: Re: [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: 2013-05-21 18:12:01
#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
Resolution: | Keywords:
------------------------------------+---------------------------------------
Description changed by viboes:
Old description:
> 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.
New description:
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#comment:1> 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:13 UTC