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
Update node_data::remove to use new equals() method #303
Conversation
bdutro
commented
Apr 8, 2015
- Update the call to equals() in node_data::remove() to match the new implementation
- Add unit test for node::remove() to catch this type of bug in the future
- Update the call to equals() in node_data::remove() to match the new implementation - Add unit test for node::remove() to catch this type of bug in the future
Fix compiler error by updating node_data::remove to use new equals() method.
Any reason why you cannot fix this equals() call in remove() for 0.5.2, so that Ubuntu 16.04 (once it pulls changes) would have a working yaml.cpp out of the box? |
Ping. |
Yes, sorry for being so uninformative... I was interrupted when I was about to write. My problem is that Debian ships 0.5.2 so my application is broken on it. Are there any possible work around for these versions? I'm reluctant to embed a patched version of the guilty header in my software, but... Besides, I don't think I saw a CPP symbol that defines the version of yaml-cpp, something I could use to |
The problem is straightforward. 0.5.2 is broken in that the header won't compile. Current Debian and Ubuntu releases are pegged to 0.5.2. My solution right now is either to install 0.5.3 on every machine in my building that might use yaml-cpp (we use ROS so that's that every machine) or to patch the use/include/ header for the shipped 0.5.2 release. This is not ideal. Perhaps Debian/Ubuntu need to promote 0.5.3 to their current stable/LTS releases, and I would have hoped the actual software architect would has some influence in that. |
Has anyone asked Debian about this? |
I put in a request to the Debian package maintainer, but haven't heard back as of yet. Given that nothing that includes the impl header from 0.5.2 will compile, it baffles me that no one has caught this sooner. |
@pbeeson I don't think the header is not that broken: the function |
@akimd I suggest trying this PPA. It works for me. |
FWIW for those finding this, it looks like this has been patched for 0.5.2 by ubuntu 18.04+ (at least) downstream. |