Boost logo

Boost :

Subject: Re: [boost] Unused Parameter Warnings
From: JOAQUIN M. LOPEZ MUÑOZ (joaquin_at_[hidden])
Date: 2008-09-17 17:48:33

De: boost-bounces_at_[hidden] [boost-bounces_at_[hidden]] En nombre de Michael Marcin [mike.marcin_at_[hidden]]
Enviado el: miércoles, 17 de septiembre de 2008 23:40
Para: boost_at_[hidden]
Asunto: [boost] Unused Parameter Warnings
> I'm trying to silence a lot of unused parameter warnings in the boost
> 1.36 libraries I'm using. I'd like to submit these as patches so I don't
> have to fix them again (I've had to do it for 1.34 and 1.35). Is there a
> preferred boost wide solution to silencing these warnings? Should I
> consult each library author on their preference?
> AFAIK there are 4 common ways to silence these warnings.
> [...]
> * C-style comment out the parameter name

The last one is AFAIK the preferred way to deal with this warning. You
might want to prepare a patch (or, better yet, different patches for each library)
and issue a/some ticket/s at so that the authors take care of
the problem.


Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

Boost list run by bdawes at, gregod at, cpdaniel at, john at