Re: [eigen] NoChange_t, Sequential_t, etc.

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi,

I don't understand how that's equivalent? If Sequential is a type and
not an object then we would have to use Sequential() instead of
Sequential only, and so change the API.

gael

On Tue, Apr 3, 2012 at 10:22 AM, Hauke Heibel
<hauke.heibel@xxxxxxxxxxxxxx> wrote:
> Hi guys,
>
> are there any objections of removing the global variables
>
> struct Sequential_t {};
> namespace {
>  EIGEN_UNUSED Sequential_t Sequential;
> }
>
> and replacing them by
>
> struct Sequential {};
>
> I started using Eigen with the Intel compiler and I am getting many
> warnings regarding unused variables and there is no easy way to remove
> those.
>
> I am quite sure, the "trick" above is anyways a remnant from C which
> should not be required anymore. If it is still needed we could at
> least typedef define the structs.
>
> Regards,
> Hauke
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/