Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-06 01:15:40

Hi Rodolfo,

> Hi, I'm using boost::program_options for the first time and noticed
> that when compiling a program that uses it using gcc's -Wall, it
> spits out a warning about an unused function parameter:
> /usr/include/boost-1_32/boost/program_options/value_semantic.hpp:137:
> warning: unused parameter 'value_store'
> Can this be corrected?

Sure, I've committed a change which fixes this warning, as well as the one
you've reported in the other email. Thanks!

> It's just annoying when using -Werror.

I understand, since I use -Werror on my production project too.

> Since I've
> seen warnings in other libraries as well, I wonder why those ones aren't
> being caught in boost's test summary (on the home page). Just adding
> -Wall to the compiler option would suffice.

I think -Wall are in compiler's option already, but they are not shown in
the regression tests results. It's really not good -- I had no idea the two
warning you've reported are there, for example. So it would be nice to have
warnings shown in the tables. Unfortunately, I don't know how to easily do

- Volodya

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