Re: [Boost-bugs] [Boost C++ Libraries] #7049: "unreferenced parameter" warning

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7049: "unreferenced parameter" warning
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-13 16:13:27


#7049: "unreferenced parameter" warning
-----------------------------------------------+----------------------------
  Reporter: Deniz Bahadir <D.Bahadir@…> | Owner: vladimir_prus
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: program_options
   Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords:
-----------------------------------------------+----------------------------

Comment (by garren@…):

 I also find this problem with gcc when using "-Werror -Wall -Wextra".
 Have just checked the trunk and it appears that the patch didn't quite
 work. The line in question (253) is still:

 virtual void set_option_name(const std::string&option_name) {}

 My solution was to simply remove "option_name" from this line.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7049#comment:2>
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:10 UTC