Created attachment 434000 [details]
First error message:
app_secondaryfan.cpp:310:5: error: reference to 'rank' is ambiguous
Created attachment 434002 [details, diff]
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]
Previous patch was fine except for the naming convention.
126.96.36.199.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).