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

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6582: Remove unused parameter warning in property tree json parser
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-18 08:37:08


#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
Resolution: | Keywords:
---------------------------------+---------------------------
Description changed by mloskot:

Old description:

> 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.

New description:

 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#comment:3>
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:13 UTC