Opened 10 years ago
Last modified 9 years ago
#7025 closed Bugs
circular buffer reports warning: " type qualifiers ignored on function return type" while compile. — at Initial Version
Reported by: | Owned by: | Jan Gaspar | |
---|---|---|---|
Milestone: | Boost 1.55.0 | Component: | circular_buffer |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | Cc: |
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.