[Boost-bugs] [Boost C++ Libraries] #9376: g++ 4.7 -Wshadow warnings need attention

Subject: [Boost-bugs] [Boost C++ Libraries] #9376: g++ 4.7 -Wshadow warnings need attention
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-12 23:34:38


#9376: g++ 4.7 -Wshadow warnings need attention
-----------------------------------------+--------------------------
 Reporter: Tom Browder <tom.browder@…> | Owner: dgregor
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: property_map
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
-----------------------------------------+--------------------------
 Following are warnings from g++ 4.7

 boost/property_map/property_map.hpp:634:54: warning: declaration of 'pm'
 shadows a member of 'this' [-Wshadow]

 boost/property_map/vector_property_map.hpp:33:9: warning: declaration of
 'index' shadows a member of 'this' [-Wshadow]

 boost/property_map/vector_property_map.hpp:38:9: warning: declaration of
 'index' shadows a member of 'this' [-Wshadow]

 boost/property_map/dynamic_property_map.hpp:80:51: warning: declaration of
 'property' shadows a member of 'this' [-Wshadow]

 boost/property_map/dynamic_property_map.hpp:95:52: warning: declaration of
 'property' shadows a member of 'this' [-Wshadow]

 boost/property_map/dynamic_property_map.hpp:149:14: warning: declaration
 of 'key' shadows a member of 'this' [-Wshadow]

 boost/property_map/dynamic_property_map.hpp:170:5: warning: declaration of
 'property_map_' shadows a member of 'this' [-Wshadow]

 boost/property_map/dynamic_property_map.hpp:173:3: warning: declaration of
 'key' shadows a member of 'this' [-Wshadow]

 boost/property_map/dynamic_property_map.hpp:178:3: warning: declaration of
 'key' shadows a member of 'this' [-Wshadow]

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