Boost C++ Libraries: Ticket #11634: "unused parameter" warnings from vector.hpp (develop branch head) https://svn.boost.org/trac10/ticket/11634 <p> With all warnings enabled, my builds (clang++ -Wall -Werror) are failing with "unused parameter 'x'" warnings in boost/container/vector.hpp. </p> <p> I can see this has been fixed on the "develop" branch for the steal_resources() function, but it still exists for the nearby swap_resources() function. </p> <p> Trivial patch against develop is attached. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11634 Trac 1.4.3 lopresti@… Wed, 09 Sep 2015 21:10:34 GMT attachment set https://svn.boost.org/trac10/ticket/11634 https://svn.boost.org/trac10/ticket/11634 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">unused-argument.patch</span> </li> </ul> <p> Trivial patch to fix unused parameter warning </p> Ticket Ion Gaztañaga Thu, 10 Sep 2015 10:14:20 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11634#comment:1 https://svn.boost.org/trac10/ticket/11634#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> Thanks. Fixed in: </p> <p> <a class="ext-link" href="https://github.com/boostorg/container/commit/7071fbc7d80f7bd3af74572a2cf15383f84442aa"><span class="icon">​</span>https://github.com/boostorg/container/commit/7071fbc7d80f7bd3af74572a2cf15383f84442aa</a> </p> Ticket