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

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


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

 boost/graph/detail/adjacency_list.hpp:2608:16: warning: declaration of
 'tag' shadows a member of 'this' [-Wshadow]

 boost/graph/detail/adjacency_list.hpp:2608:59: warning: declaration of
 'tag' shadows a member of 'this' [-Wshadow]

 boost/graph/graph_concepts.hpp:474:9: warning: declaration of 'g' shadows
 a member of 'this' [-Wshadow]

 boost/graph/graph_concepts.hpp:501:9: warning: declaration of 'g' shadows
 a member of 'this' [-Wshadow]

 boost/graph/graphviz.hpp:516:61: warning: declaration of 'dp' shadows a
 member of 'this' [-Wshadow]

 boost/graph/graphviz.hpp:545:7: warning: declaration of 'dp' shadows a
 member of 'this' [-Wshadow]

 boost/graph/graphviz.hpp:545:7: warning: declaration of 'node_id' shadows
 a member of 'this' [-Wshadow]

 boost/graph/graphviz.hpp:585:9: warning: declaration of 'dp' shadows a
 member of 'this' [-Wshadow]

 boost/graph/graphviz.hpp:585:9: warning: declaration of 'node_id' shadows
 a member of 'this' [-Wshadow]

 boost/graph/graphviz.hpp:673:5: warning: declaration of 'errmsg' shadows a
 member of 'this' [-Wshadow]

 boost/graph/named_graph.hpp:222:7: warning: declaration of 'extract'
 shadows a member of 'this' [-Wshadow]

 boost/graph/named_graph.hpp:222:7: warning: declaration of 'graph' shadows
 a member of 'this' [-Wshadow]

 boost/graph/named_graph.hpp:295:79: warning: declaration of
 'vertex_constructor' shadows a member of 'this' [-Wshadow]

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