Summary: | sci-mathematics/gfan-0.5 does not compile with gcc-6.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Felix Janda <felix.janda> |
Component: | Current packages | Assignee: | Thomas Kahle (RETIRED) <tomka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bircoph, jstein, plevine457, sci-mathematics |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: |
build log
Possible fix gfan-0.5-gcc6.patch |
Created attachment 434002 [details, diff]
Possible fix
Am I missing something? gcc-6 is not even in the tree, how devs are supposed to fix related bugs? By now I would have expected that gcc-6 can be found in the tree... Still, you can get gcc-6.1 right now from the hardened-development overlay. Yes, I see no problem in being future proof here. I'm talking to Anders Jensen, the author of gfan about what would be the best solution. Please stay tuned. Created attachment 435886 [details, diff]
gfan-0.5-gcc6.patch
Previous patch was fine except for the naming convention.
17.4.3.2.1 of the C++ standard, assuming it hasn't changed, states that names which start with an underscore in global namespace are reserved for the implementation.
This patch just changes "_rank" to "rank_"
gfan-0.5-r1 is a bump to EAPI=6 which also contains Peter Levine's version of the gcc-6.1 patch. Thanks a lot and please test (I don't run gcc-6.1 yet). |
Created attachment 434000 [details] build log First error message: app_secondaryfan.cpp:310:5: error: reference to 'rank' is ambiguous