Re: [boost] Boost 1.65.0 Beta 1 Release Candidate 1
Hi, I've been playing aournd with boost coroutines2 and maybe I'm just confused about where this project is, but with 1.65 coroutines2 doesn't seem to be buildable out of the box any longer: I've tried looking through mailing list archives for anything about the status of coroutine2 to no avail, and coroutine still spits out warnings to use coroutine2 when used. I'm not sure where in the build system things hook in to fix this. Here's the output on my system: berne@Bugg:~/tmp$ tar xzf boost_1_65_0_beta1_rc1.tar.gz berne@Bugg:~/tmp$ cd boost_1_65_0/ berne@Bugg:~/tmp/boost_1_65_0$ ./bootstrap.sh --with-toolset=clang Building Boost.Build engine with toolset clang... tools/build/src/engine/bin.linuxx86_64/b2 Detecting Python version... 2.7 Detecting Python root... /usr Unicode/ICU support for Boost.Regex?... not found. Generating Boost.Build configuration in project-config.jam... Bootstrapping is done. To build, run: ./b2 To adjust configuration, edit 'project-config.jam'. Further information: - Command line help: ./b2 --help - Getting started guide: http://www.boost.org/more/getting_started/unix-variants.html - Boost.Build documentation: http://www.boost.org/build/doc/html/index.html berne@Bugg:~/tmp/boost_1_65_0$ ./b2 --with-coroutine2 error: wrong library name 'coroutine2' in the --with-<library> option. Thanks. - Josh
2017-07-09 15:27 GMT+02:00 Joshua Berne via Boost
Hi,
I've been playing aournd with boost coroutines2 and maybe I'm just confused about where this project is, but with 1.65 coroutines2 doesn't seem to be buildable out of the box any longer:
boost.coroutine2 is a header-only lib - b2 --with-<library> would not work
I've tried looking through mailing list archives for anything about the status of coroutine2 to no avail, and coroutine still spits out warnings to use coroutine2 when used. I'm not sure where in the build system things hook in to fix this.
boost.coroutine is deprecated - but you can disable the warning (see documentation) boost.coroutine2 requires some C++11 features (you need to apply cxxflags="-std=c++11" or equivalent)
It is header only but it does depend on a number of non-header-only libraries. With 1.64.0, b2 --with-coroutine2 did work and triggered the building of thread, chrono, system, and context (and obviously no coroutine2 library since b2 is header only). If this change is intentional because coroutine2 is header-only then that's fine, but when header-only libraries depend on non-header only libraries it was certainly useful to me to be able to trigger their dependancies to build with b2 using --with-<x> instead of having to manually figure out those dependancies and maintain that list with future boost releases. I'm aware of the ability to disable the warning. The documentation isn't even needed since the warning itself provides instructions on how to disable it, but I'm targetting c++17 so everything in the documentation seems to suggest that I should focus on using coroutine2. - Josh On Sun, 9 Jul 2017, Oliver Kowalke via Boost wrote:
2017-07-09 15:27 GMT+02:00 Joshua Berne via Boost
: Hi,
I've been playing aournd with boost coroutines2 and maybe I'm just confused about where this project is, but with 1.65 coroutines2 doesn't seem to be buildable out of the box any longer:
boost.coroutine2 is a header-only lib - b2 --with-<library> would not work
I've tried looking through mailing list archives for anything about the status of coroutine2 to no avail, and coroutine still spits out warnings to use coroutine2 when used. I'm not sure where in the build system things hook in to fix this.
boost.coroutine is deprecated - but you can disable the warning (see documentation) boost.coroutine2 requires some C++11 features (you need to apply cxxflags="-std=c++11" or equivalent)
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
berne@notadragon.com
-
Oliver Kowalke