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

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9378: g++ 4.7 -Wshadow warnings need attention
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-24 08:39:13


#9378: g++ 4.7 -Wshadow warnings need attention
------------------------------------------+--------------------------
  Reporter: Tom Browder <tom.browder@…> | Owner: eric_niebler
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: xpressive
   Version: Boost 1.55.0 | Severity: Problem
Resolution: wontfix | Keywords:
------------------------------------------+--------------------------

Comment (by anonymous):

 I found this thread when trying to solve my many warnings issued by the
 inclusion of boost in my code.

 I strongly disagree with, or even appalled by Steven's and Eric's
 comments. Reusing the same name for another variable is just asking for
 problems - even if you change the scope to a deeper level. It also makes
 the code harder to debug and understand.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9378#comment:16>
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:18 UTC