Skip to content

depends: boost 1_86_0#40

Merged
ReverseControl merged 2 commits intoProjectFactor:mainfrom
patricklodder:deps/boost_1_86
Feb 2, 2025
Merged

depends: boost 1_86_0#40
ReverseControl merged 2 commits intoProjectFactor:mainfrom
patricklodder:deps/boost_1_86

Conversation

@patricklodder
Copy link
Copy Markdown
Collaborator

Pin boost v1.86 as the default and fix inherent boost::filesystem changes.

This helps compilation using depends for (arm) macOS since Xcode 16 (=Sonoma) because boost 1.71 is too old and misses facilities to deal with some non-backward compatibility (most prominently: unary_function)

  • Change pinned version to 1_86_0
  • Change download url to no longer use jfrog's repo but the more recent archives.boost.io as linked from boost.org
  • Incorporate boost::filesystem breaking changes:
    • recursive_directory_iterator::level() -> depth()
    • recursive_directory_iterator::no_push() -> disable_recursion_pending()
    • copy_option::overwrite_if_exists -> copy_options::overwrite_existing

Take a modern boost as the pinned version to improve c++17 and
later compatibility with modern compilers that removed backward
compatibility
Implements breaking changes in boost::filesystem (which were done for
compatibility with std::filesystem):

- recursive_directory_iterator::level() -> depth()
- recursive_directory_iterator::no_push() -> disable_recursion_pending()
- copy_option::overwrite_if_exists -> copy_options::overwrite_existing

See:

https://www.boost.org/doc/libs/1_86_0/libs/filesystem/doc/deprecated.html
@ReverseControl ReverseControl merged commit d8c5b6c into ProjectFactor:main Feb 2, 2025
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