Boost C++ Libraries: Ticket #2808: boost parameters and gcc -Wunused-parameter https://svn.boost.org/trac10/ticket/2808 <p> Hi, the BOOST_PARAMETER_FUNCTION macro leaves a helper function with the parameter boost_parameter_enabler_argument around. however, that parameter is never used, so gcc with -Wunused-parameters leads to really ugly template infested warnings that the user has no control over. I suggest therefore either to remove the name of the parameter entirely (or rather comment it out for documentation purposes), or if this is not supported by all compilers (gcc 4.2-4.4 do work here) to have this parameter casted to void in the function body. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2808 Trac 1.4.3 Daniel Wallin Fri, 29 May 2009 18:06:47 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2808#comment:1 https://svn.boost.org/trac10/ticket/2808#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53402" title="Silence &#34;unused parameter&#34; warning in BOOST_PARAMETER_FUNCTION(). ...">[53402]</a>) Silence "unused parameter" warning in BOOST_PARAMETER_FUNCTION(). Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2808" title="#2808: Bugs: boost parameters and gcc -Wunused-parameter (closed: fixed)">#2808</a>. </p> Ticket