Repository navigation
Conversation
- Boost.System is header-only and Boost 1.89 removed its CMake package, so request it as an optional component and fall back to Boost::headers. - Replace Asio APIs removed in Boost 1.87: address(_v4)::from_string -> make_address(_v4), io_context::reset -> restart, io_service -> io_context. The replacements are available since Boost 1.66. - Update iso22133 submodule with its CMake 4 fix (RI-SE/iso22133#54). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The project fails to build with CMake 4.x and recent Boost (tested with CMake 4.2.3 and Boost 1.90):
Boost.System: it is header-only, and Boost 1.89 removed its CMake package, so
find_package(Boost REQUIRED COMPONENTS system)fails. It is now an optional component, with a fallback toBoost::headerswhenBoost::systemis not available.Asio: these APIs were removed in Boost 1.87 and are replaced in the library and the tests:
address_v4::from_string→make_address_v4address::from_string→make_addressio_context::reset()→restart()io_service→io_contextThe replacements have been available since Boost 1.66.
iso22133 submodule: bumped to pick up its CMake 4 fix, Fix configuring with CMake 4 iso22133#54. The fix commit is based on the previously pinned commit (
6bbcee7), so no other upstream changes come along. Current iso22133masterremovesTEST_MODE_UNAVAILABLE, whichsrc/iso22133object.cppstill uses.Merge RI-SE/iso22133#54 first, using a merge commit rather than squash, so the pinned submodule commit stays reachable from iso22133
master.Testing
BUILD_TESTING=ONandTZ=UTC, all tests pass except the twotest_multipleSimulatedISOObjectstests. Those failed only because a localISO_objectDemoinstance was holding ports 53240/53241.EncodeOSEM.Datein iso22133 fails when the local timezone is not UTC. That problem predates this change.🤖 Generated with Claude Code