-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access control of GraphBase::_map - how can this work? #46
Comments
This is a more complex problem, I ll try to explain as best as I remember. There is a bug in
Thus as long as you include GraphTypes.hpp first, everything should work as expected. Can you post the complete compile error including the include chain? Maybe the chain is broken somewhere and labeled_graph is included before GraphTypes.' This is a nasty workaround and I was hoping that the bug in boost was fixed but so far the bug has not been fixed. |
Witchcraft!!! :-D Okay, I see. I'm at home already, I hope that I can double-check tomorrow. Is the bug still present in Boost 1.69 though? |
As far as I see the bug is still present in the current boost version. Maybe we should just fix it and create a PR? |
I opened an Issue on the boost graph github: |
Okay... I'm curious to see what's coming out of this. 👍 I'll close this issue as it's clearly not our fault. ... oh, and because the workaround (header loading order) works. |
I'll check it out. Thanks for letting us know. |
Wow, that's a nice surprise. Thanks for taking a look |
envire-envire_core/src/graph/Graph.hpp
Line 315 in b4f2f97
In this line there's the field
_map
which is markedprotected
, however inboost::labeled_graph
this field is markedprivate
ever since at least Boost 1.46 (if not even older versions). Compiling my code together with this does not work. I'm gettingHow has this ever worked?
The text was updated successfully, but these errors were encountered: