Summary: | I get tons of error since my distribution upgraded to GCC 6.1.1 | ||||||
---|---|---|---|---|---|---|---|
Product: | Eigen | Reporter: | Alessio Elmi <alessio_elmi> | ||||
Component: | General | Assignee: | Nobody <eigen.nobody> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Compilation Problem | CC: | chtz, gael.guennebaud, jacob.benoit.1 | ||||
Priority: | Normal | ||||||
Version: | 3.3 (current stable) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Bug Depends on: | |||||||
Bug Blocks: | 814 | ||||||
Attachments: |
|
Description
Alessio Elmi
2016-05-10 00:00:02 UTC
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. |