What I experience is that my little program stopped building since the upgrade of gcc to 6.1.1 (now the standard with Archlinux). I get a lot of "-Wignored-attributes", which turn into breaking the compiling process. However, turning off any warning "-w" lets me go further, even though I am not sure if it is totally safe. I also tried latest git sources, with the same results. The culprit line which always occurs is the following: /usr/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type {aka __vector(2) double}' [-Wignored-attributes]
If I see it correctly, these are "only" warnings? Still they must be fixed, but perhaps it is sufficient to fix them for 3.3 I assume they essentially warn for the issue fixed here: https://bitbucket.org/eigen/eigen/commits/5b40cf4672 I locally made a fix based on meta-packets (see Bug 692 Comment 10), which appeared to work. I unfortunately seem to have lost it while messing with mercurial ... but it weren't too many changes and I can make a more clean re-implementation -- be a bit patient, though.
Created attachment 708 [details] Disable -Wignored-attributes What about simply disabling this warning within Eigen as in the attached patch?
I applied the attached changes to make gcc 6 usable: https://bitbucket.org/eigen/eigen/commits/0b5d0bcb72f7 https://bitbucket.org/eigen/eigen/commits/ad10b2383e48 (3.2) good enough for 3.3 (IMO)
I consider it as fixed as there is no other solution than disabling the warning (as currently done) or encapsulating the __mXXX type in a struct, but we won't do that only for a stupid warning (there might be other good reasons though).
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1221.