Boost logo

Ublas :

Subject: Re: [ublas] [bindings] Suppress "unused variable" warnings
From: Marco Guazzone (marco.guazzone_at_[hidden])
Date: 2010-07-13 08:35:04


On Tue, Jul 6, 2010 at 7:59 PM, Marco Guazzone <marco.guazzone_at_[hidden]> wrote:
> Hi,
>
> Line 75 of file "boost/numeric/bindings/detail/get.hpp"
>
> --- [code] ---
>    static result_type invoke( const T& t ) {
>        return result_type();
>    }
> --- [/code] ---
>
> generate annoying "unusable variable" warnings.
>
> Is it possible to comment the variable name?
> For instance:
> --- [code] ---
>    static result_type invoke( const T& /*t*/ ) {
>        return result_type();
>    }
> --- [/code] ---
>
> This would save me from walking back several lines before I find real
> errors... Yes, I'm lazy :P

Hello,

I didn't received any feedback about this.

Any problem to fix this?

Thank you very much!!

Best,

-- Marco

>
> Thank you very much!!
>
> Cheers,
>
> -- Marco
>