[Bug 1941909] Re: bug in boost 1.74
Jerry Quinn
1941909 at bugs.launchpad.net
Tue Oct 17 20:35:29 UTC 2023
More details in upstream bug report
https://github.com/boostorg/serialization/issues/219
In case others see this report, you can work around the issue as described in
https://github.com/jngrad/espresso/commit/f33faf09ab26131bd38c2b8bd33efd35679134a3
Insert the following code before other uses of serialization:
// Workaround for bug in boost 1.74
// https://github.com/boostorg/serialization/issues/219
// Shows up on ubuntu 22.04
#include <boost/serialization/version.hpp>
#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 == 74
#include <boost/serialization/library_version_type.hpp>
#endif
** Bug watch added: github.com/boostorg/serialization/issues #219
https://github.com/boostorg/serialization/issues/219
** Summary changed:
- bug in boost 1.74
+ compile bug in boost 1.74 with serialization
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to boost-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1941909
Title:
compile bug in boost 1.74 with serialization
Status in boost-defaults package in Ubuntu:
Confirmed
Bug description:
The version 1.74 of the boost library has a bug in boost/serialization/optional.hpp
For instance, the code
#include <boost/serialization/optional.hpp>
int main () {
return 0;
}
gives an error for the compilation.
This problem is solved in the version 1.75.
Is it possible to update the version?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost-defaults/+bug/1941909/+subscriptions
More information about the foundations-bugs
mailing list