-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Describe the bug
asio::io_service was deprecated in Boost 1.66, but it was still available as an alias until Boost 1.87. It was removed in Boost 1.88.
The new name is: asio::io_context
To Reproduce
Steps to reproduce the behavior:
- Install Boost 1.88
- Build Slic3r against Boost 1.88
- Wait for the error:
src/libslic3r/GCodeSender.hpp:40:11: error: ‘io_service’ in namespace
‘Slic3r::asio’ does not name a type; did you mean ‘use_service’?
40 | asio::io_service io;
| ^~~~~~~~~~
| use_service
3D Model and Slic3r Configuration Export
N/A
Expected behavior
Slic3r should build against Boost 1.88.
Screenshots
N/A
Desktop (please complete the following information):
- OS: Debian Linux sid/forky
- Version 1.3.0
Additional context
This problem was discovered during a rebuild of the Debian package of Slic3r against Boost 1.88: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110676
A similar issue was reported here: chriskohlhoff/asio#1653
Further information and a link to the asio/boost::asio changelog can be found there.
Metadata
Metadata
Assignees
Labels
No labels