Boost logo

Boost :

Subject: Re: [boost] [accumulator] A lot of unused "parameter" warnings
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2011-10-01 14:51:09


Le 01/10/11 20:03, Eric Niebler a écrit :
> On 10/1/2011 9:29 AM, Vicente J. Botet Escriba wrote:
>> Would you accept a patch that resolve them by commenting the
>> parameter name?
> Patches gladly accepted. Just open a ticket on svn.boost.org and
> attach the patch. Thanks!
>
Well, I have reached to remove the warnings in Boost.Parameter and
Boost.Fusion.

The warnings in Boost.Accumulators are related to static variables
included in a unnamed namespace such as

../../../boost/accumulators/numeric/functional_fwd.hpp:187:38: warning:
unused variable 'min_assign' [-Wunused-variable]
         extern op::min_assign const &min_assign;

Unfortunately, I don't know how to silent these warnings :(

Have you an idea how to silent them?

Best,
Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk