Boost C++ Libraries: Ticket #2707: Spurious GCC warnings https://svn.boost.org/trac10/ticket/2707 <p> Boost.Math is getting an annoying warning from Fusion, for example: </p> <p> #include &lt;boost/math/special_functions/gamma.hpp&gt; </p> <p> leads to: </p> <p> In file included from ./boost/math/special_functions/erf.hpp:1078, </p> <blockquote> <p> from ./boost/math/special_functions/gamma.hpp:1472, from ../../trunk/t.cpp:2: </p> </blockquote> <p> ./boost/fusion/container/vector/vector10.hpp: In instantiation of 'boost::fusion ::vector0::vector0(const Sequence&amp;) [with Sequence = boost::fusion::tuple&lt;boost: :fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_ , boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusio n::void_, boost::fusion::void_, boost::fusion::void_&gt;]': ./boost/fusion/container/vector/vector.hpp:62: instantiated from 'boost::fusio n::vector&lt;T0, T1, T2, T3, T4, T5, T6, T7, T8, T9&gt;::vector(const Sequence&amp;) [with </p> <blockquote> <p> Sequence = boost::fusion::tuple&lt;boost::fusion::void_, boost::fusion::void_, boo </p> </blockquote> <p> st::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::vo id_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fu sion::void_&gt;, T0 = boost::fusion::void_, T1 = boost::fusion::void_, T2 = boost:: fusion::void_, T3 = boost::fusion::void_, T4 = boost::fusion::void_, T5 = boost: :fusion::void_, T6 = boost::fusion::void_, T7 = boost::fusion::void_, T8 = boost ::fusion::void_, T9 = boost::fusion::void_]' ./boost/fusion/tuple/tuple.hpp:34: instantiated from 'boost::fusion::tuple&lt;T0, </p> <blockquote> <p> T1, T2, T3, T4, T5, T6, T7, T8, T9&gt;::tuple(const boost::fusion::tuple&lt;T0, T1, T </p> </blockquote> <p> 2, T3, T4, T5, T6, T7, T8, T9&gt;&amp;) [with T0 = boost::fusion::void_, T1 = boost::fu sion::void_, T2 = boost::fusion::void_, T3 = boost::fusion::void_, T4 = boost::f usion::void_, T5 = boost::fusion::void_, T6 = boost::fusion::void_, T7 = boost:: fusion::void_, T8 = boost::fusion::void_, T9 = boost::fusion::void_]' ./boost/fusion/tuple/make_tuple.hpp:22: instantiated from here ./boost/fusion/container/vector/vector10.hpp:54: warning: unused parameter 'seq' </p> <p> When built with g++ 4.3 and -Wall -Wextra. </p> <p> Cheers, John. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2707 Trac 1.4.3 manuel.holtgrewe@… Wed, 10 Mar 2010 14:16:46 GMT cc set https://svn.boost.org/trac10/ticket/2707#comment:1 https://svn.boost.org/trac10/ticket/2707#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">manuel.holtgrewe@…</span> added </li> </ul> <p> Simply replacing the line </p> <pre class="wiki"> vector0(Sequence const&amp; seq) </pre><p> by </p> <pre class="wiki"> vector0(Sequence const&amp;) </pre><p> would fix this. </p> Ticket Steven Watanabe Sat, 12 Jun 2010 16:12:56 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2707#comment:2 https://svn.boost.org/trac10/ticket/2707#comment:2 <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> Fixed in <a class="changeset" href="https://svn.boost.org/trac10/changeset/62854" title="Clean up MSVC build. Fixes #1619. Fixes #3074.">[62854]</a>. </p> Ticket