[Boost-bugs] [Boost C++ Libraries] #6582: Remove unused parameter warning in property tree json parser

Subject: [Boost-bugs] [Boost C++ Libraries] #6582: Remove unused parameter warning in property tree json parser
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-20 23:19:45


#6582: Remove unused parameter warning in property tree json parser
-------------------------------------------+--------------------------------
 Reporter: JL <julio.lopez@…> | Owner: cornedbee
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: property_tree
  Version: Boost 1.48.0 | Severity: Cosmetic
 Keywords: |
-------------------------------------------+--------------------------------
 Using the property json parser, in particular
 boost::property_tree::read_json(...), among probably other case, produces
 an "unused parameter 'e'" warning as follows:

 ... <template instantiation omitted for brevity >....

 ../../src/my_source.cc:ln: instantiated from here
 /...fullpath.../include/boost/property_tree/detail/json_parser_read.hpp:115:
 warning: unused parameter ‘e’

 This prevents the use of the -Werror flag during compilation.

 Patch attached.

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