Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use deprecated filesystem copy options #1264

Merged

Conversation

p12tic
Copy link
Contributor

@p12tic p12tic commented Oct 6, 2022

This PR introduces usage of boost::filesystem::copy_options instead of deprecated equivalent.

The new API has been introduced in Boost 1.74 and follows C++17 more closely.

Boost dependency has been bumped to 1.74. This is harmless because users will either use system Boost, which is 1.74 on both Debian stable (bullseye) and Ubuntu 22.04 LTS, or compile from source on older systems or RHEL which already has older Boost anyway. Therefore bumping the requirement is harmless.

I don't think we should upgrade to even newer boost because this would force even more libraries to be recompiled from source and included into AliceVision install prefix when developing even on relatively new systems.

Users will either use system Boost, which is 1.74 on both Debian stable
(bullseye) and Ubuntu 22.04 LTS, or compile from source on older systems
or RHEL which already has older Boost anyway. Therefore bumping the
requirement is harmless.
The new API has been introduced in Boost 1.74 and follows C++17 more
closely.
@fabiencastan fabiencastan added this to the 2.5.0 milestone Oct 6, 2022
@fabiencastan fabiencastan merged commit fbc7ec5 into alicevision:develop Oct 6, 2022
@p12tic p12tic deleted the deprecated-filesystem-copy-options branch October 6, 2022 23:29
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