Re: [eigen] gcc 7.1 fails to build projects that depend on libeigen

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


Hi,

sorry for late replay, but that's not as easy as replacing them by static const bool, see for instance this old thread: http://eigen.tuxfamily.narkive.com/GatL7TiX/proposal-to-use-static-const-integer-class-members-instead-of-enum-values

So the current workaround is to disable this warning: -Wno-int-in-bool-context.

gael

On Fri, Jun 16, 2017 at 3:25 PM, Dmitry Rozhkov <dmitry.rozhkov@xxxxxxxxxxxxxxx> wrote:
Hi,

The latest gcc seems to have problems with traits based on enum. Please
 find in the attachment a typical build log (for sophus in this case).

What's the plan for them? Can we replace them with `static const bool`
rather than `enum`?

BR,
Dmitry



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