Skip to content

boost::asio::ip:address and boost::asio::<timer> compat fix - #546

Merged
vitalyster merged 3 commits into
SpectrumIM:masterfrom
dekeonus:fix-asio-ip-1.66
Jul 26, 2026
Merged

boost::asio::ip:address and boost::asio::<timer> compat fix#546
vitalyster merged 3 commits into
SpectrumIM:masterfrom
dekeonus:fix-asio-ip-1.66

Conversation

@dekeonus

@dekeonus dekeonus commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

fixes compatibility with newer boost versions for
boost::asio::ip:address
boost::asio::deadline_timer / boost::asio::system_timer

fixes boost filesystem api v4 for smstools backend

dekeonus added 3 commits July 27, 2026 02:01
boost::asio::ip::address::from_string was deprecated in boost-1.66 and
removed in boost-1.87

removed the check for boost version

safe to use features available from boost-1.74

Signed-off-by: Bill Prendergast <dek.devel@baisenvar.info>
- boost::asio::deadline_timer is deprecated in boost-1.87 and no longer
  included in the boost/asio.hpp Convenience header from boost-1.89
- boost::posix_time::duration was pulled in by
  boost::asio::deadline_timer, the suggested replacement is cxx-11
  std::chrono::duration, as the cmake file sets compilation using cxx-11
  features, use the cxx-11 std::chrono

Signed-off-by: Bill Prendergast <dek.devel@baisenvar.info>
Signed-off-by: Bill Prendergast <dek.devel@baisenvar.info>
@vitalyster
vitalyster merged commit 902a6e4 into SpectrumIM:master Jul 26, 2026
6 checks passed
@dekeonus
dekeonus deleted the fix-asio-ip-1.66 branch July 26, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants