Re: [Boost-bugs] [Boost C++ Libraries] #7568: Unused parameter and shadowed member warnings in errors.hpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7568: Unused parameter and shadowed member warnings in errors.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-24 21:33:26


#7568: Unused parameter and shadowed member warnings in errors.hpp
---------------------------------------------------+------------------------
  Reporter: Kenneth Moreland <kmorel@…> | Owner: vladimir_prus
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: program_options
   Version: Boost 1.51.0 | Severity: Cosmetic
Resolution: | Keywords:
---------------------------------------------------+------------------------

Comment (by Kenneth Moreland <kmorel@…>):

 I also discovered another shadowed parameter warning on line 232 of
 value_semantic.hpp. You can see all of the warnings if you compile


 {{{
 #include <boost/program_options.hpp>

 int main(int, char *[]) { return 0; }
 }}}

 with the -Wunused-parameter and -Wshadow flags.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7568#comment:1>
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:11 UTC