[Boost-bugs] [Boost C++ Libraries] #6738: Shadowed variable warning.

Subject: [Boost-bugs] [Boost C++ Libraries] #6738: Shadowed variable warning.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-28 01:44:32


#6738: Shadowed variable warning.
--------------------------------+-------------------------------------------
 Reporter: davidrogers@… | Owner: jsiek
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: concept_check
  Version: Boost 1.48.0 | Severity: Cosmetic
 Keywords: warning |
--------------------------------+-------------------------------------------
 Turning on -Wshadow will cause a warning to be thrown at
 concept_check.hpp:1055.

       void const_constraints(const C& c)

 warning: Declaration shadows a field of Collection<C>

 In a large project, this gets compounded every time that a boost header is
 included. Which makes it difficult to find warnings in my own code.

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