Subject: [Boost-bugs] [Boost C++ Libraries] #2707: Spurious GCC warnings
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-01 10:06:48
#2707: Spurious GCC warnings
--------------------------+-------------------------------------------------
Reporter: johnmaddock | Owner: djowel
Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: fusion
Version: Boost 1.37.0 | Severity: Cosmetic
Keywords: |
--------------------------+-------------------------------------------------
Boost.Math is getting an annoying warning from Fusion, for example:
#include <boost/math/special_functions/gamma.hpp>
leads to:
In file included from ./boost/math/special_functions/erf.hpp:1078,
from ./boost/math/special_functions/gamma.hpp:1472,
from ../../trunk/t.cpp:2:
./boost/fusion/container/vector/vector10.hpp: In instantiation of
'boost::fusion
::vector0::vector0(const Sequence&) [with Sequence =
boost::fusion::tuple<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_>]':
./boost/fusion/container/vector/vector.hpp:62: instantiated from
'boost::fusio
n::vector<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::vector(const Sequence&)
[with
Sequence = boost::fusion::tuple<boost::fusion::void_,
boost::fusion::void_, boo
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_>, 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<T0,
T1, T2, T3, T4, T5, T6, T7, T8, T9>::tuple(const boost::fusion::tuple<T0,
T1, T
2, T3, T4, T5, T6, T7, T8, T9>&) [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'
When built with g++ 4.3 and -Wall -Wextra.
Cheers, John.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2707> 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:59 UTC