Opened 15 years ago
Closed 14 years ago
#1677 closed Tasks (fixed)
Unused parameter in grammar.ipp line 83
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | spirit |
Version: | Boost 1.34.1 | Severity: | Cosmetic |
Keywords: | grammar, warning, parameter, gcc | Cc: |
Description
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,
Note:
See TracTickets
for help on using tickets.
If this is the file that now lives in boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp, then I think this is fixed already.
Joel - is that right?