-
Notifications
You must be signed in to change notification settings - Fork 976
rec: make code boost 1.66 compatible again #16655
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
Conversation
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
…zers not supported" reported by g++-15 (missing initializer) Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
8b7c58f to
3a607ae
Compare
Pull Request Test Coverage Report for Build 20342847085Details
💛 - Coveralls |
miodvallat
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but please rewrite the first commit message (or squash).
|
It's a bit of a shame to have to revert all this changes :-/ I guess there are too many issues to make it work with boost 1.66? |
I intend to spent some time today to see if we can work around the issue. |
|
I could not convince the compiler that a hash function for std::optionalstd::string exists in the context of boost 1.66. I am now pondering an alternative solution: do away with the optional, and consider an empty tag as signifying non-existence. Strictly speaking that is changing the semantics as a present but empty tag is not longer a thing then, but as not a lot of people (none?) use the Routing tag for partitioning the record cache that should not be an issue. |
|
Without looking at the code that seems like a nice solution to me. We would have to document the change but I'm not aware of any users of the routing tag feature either, so it's unlikely to be an issue. |
28c6282 to
20b7723
Compare
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
20b7723 to
87c5597
Compare
rgacogne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of these changes feel a bit unrelated to the initial issue, but that's not a big deal and apart from that I'm OK with the PR.
The somewhat unrelated changes were warnings detected by the Sue boost/compiler (1.66/15) combo. |
Short description
It turns out that some systems we want to support have a rather old C++ library and boost 1.66.
So partly revert the
std::optionalchanges and work around a few issues that g++-15 reports on these systems.Checklist
I have: