Subject: [Boost-bugs] [Boost C++ Libraries] #1677: Unused parameter in grammar.ipp line 83
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-03-11 09:33:01
#1677: Unused parameter in grammar.ipp line 83
----------------------------------------------+-----------------------------
Reporter: clutter_at_[hidden] | Owner: djowel
Type: Tasks | Status: new
Milestone: Boost 1.36.0 | Component: spirit
Version: Boost 1.34.1 | Severity: Cosmetic
Keywords: grammar, warning, parameter, gcc |
----------------------------------------------+-----------------------------
Hi,
Line 83 of boost/spirit/core/non_terminal/impl/grammar.ipp declares the
parameter x which is not used. This bombs out compilation when using extra
warnings as errors on gcc. (-Wall -Wextra -Werror).
Can the parameter name be commented out, please?
From:
{{{
grammar_helper_list& operator=(grammar_helper_list const& x)
}}}
To:
{{{
grammar_helper_list& operator=(grammar_helper_list const& /*x*/)
}}}
Best Regards,
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1677>
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:49:57 UTC