Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2004-08-27 02:19:42


Rodolfo Schulz de Lima wrote:

> diff -ur boost/date_time/date_names_put.hpp /usr/include/boost-1_32/boost/date_time/date_names_put.hpp
> --- boost/date_time/date_names_put.hpp 2004-07-17 19:20:18.000000000 -0300
> +++ /usr/include/boost-1_32/boost/date_time/date_names_put.hpp 2004-08-23 17:35:05.000000000 -0300
> @@ -142,10 +142,10 @@
> default: {} //quiet compilers that want all cases covered here (eg: gcc 3.1)
> }
> }
> - virtual void do_put_weekday_short(iter_type& oitr, weekday_enum wd) const
> + virtual void do_put_weekday_short(iter_type&, weekday_enum) const
> {
> }
> - virtual void do_put_weekday_long(iter_type& oitr, weekday_enum wd) const
> + virtual void do_put_weekday_long(iter_type&, weekday_enum) const
> {
> }
> virtual bool do_has_date_sep_chars() const

Aren't there compiler that require the variable name? I could have sworn we
have a macro for this, BOOST_UNUSED_ARGUMENT() or something like this. But
I can't find it right now...

Markus


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