-
Notifications
You must be signed in to change notification settings - Fork 139
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
Compile error in 1.74 Release Candidate #210
Comments
test_optional passes. What is the program you are compiling to produce this error? |
anyway - I think I've fixed this. On the develop branch. Should appear in next release. |
Glad to hear that! Thanks! |
The issue has been fixed in commit "clean up by removing unused headers" on develop but it has not been merged into master for 1.74. Is it still possible to merge that commit? |
Hmmm - I don't know. I don't know the current state of the release. I had supposed it would have been released by now. I have come to believe (through very bitter experience) that merging in any changes just before a release is a very bad idea. So my policy would be to merge this in as soon as 1.74 is released. This would mean that the changes have the whole development cycle to be tested. It means I can merge at "my leisure" and not be stuck in a situation where I'm no the hook for breaking the boost release - trust me: you don't want to be there. I think the best thing would be for you to lend you voice to those who want to keep the release cycle short by not merging in stuff at the last minute. |
This <boost/serialization/version.hpp> include guards against an issue in boost::serialization from boost 1.74.0 that leads to compiler error "explicit specialization of undeclared template struct 'version'" when including <boost/serialization/optional.hpp>. More details in tickets: boostorg/serialization#210 boostorg/serialization#217
When using the header
serialization\optional.hpp
with Visual Studio 2017, I'll get a compiler error:The simple solution:
Put a
#include <boost/serialization/version.hpp>
before#include <boost/serialization/optional.hpp>
-- I guess this should be included directly inoptional.hpp
?The text was updated successfully, but these errors were encountered: