Re: [Boost-bugs] [Boost C++ Libraries] #4276: warning "type qualifiers ignored on function return type" in ptr_map

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4276: warning "type qualifiers ignored on function return type" in ptr_map
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-08 15:10:18


#4276: warning "type qualifiers ignored on function return type" in ptr_map
---------------------------------------+------------------------------------
  Reporter: boris.bigott@… | Owner: nesotto
      Type: Bugs | Status: new
 Milestone: Boost 1.43.0 | Component: ptr_container
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords: ptr_map
---------------------------------------+------------------------------------

Comment (by ravishankar@…):

 Could be avoided by
 #pragma GCC push_options
 #pragma GCC diagnostic ignored "-Wignored-qualifiers"
 #include <boost/ptr_container/ptr_map.hpp>
 #pragma GCC pop_options

 But there is really simple, safety and tiny fix, described above. I can't
 understand a reason why it isn't fixed still.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4276#comment:2>
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