Public bug reported:

In Ubuntu 17.10, eigen version 3.3.4 throws massive reams of compiler
warnings about enums used in boolean contexts, e.g.:

/usr/include/eigen3/Eigen/src/Core/AssignEvaluator.h:86:63: warning: enum 
constant in boolean context [-Wint-in-bool-context]
     MayLinearVectorize = bool(MightVectorize) && MayLinearize && 
DstHasDirectAccess

The volume of printout is huge, and makes it very hard to spot "genuine"
compiler warnings (or even to identify fatal errors) in user code.
Looking online, it seems that this will be fixes in Eigen 3.3.5 but that
there are already patch changesets which could be applied to the package
in Ubuntu 18.04: http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1402

** Affects: eigen3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1747943

Title:
  Massive eigen compiler warnings with gcc7 ("enum constant in boolean
  context")

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eigen3/+bug/1747943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to