Actions
Bug #12615
closedBoost 1.85 dropped directory_iterator
Start date:
04/17/2024
Due date:
% Done:
100%
Estimated time:
Description
Boost 1.85 has dropped support for directory_iterator. Wt does not compile against the latest (and probably future) Boost versions.
/tmp/wt/src/web/FileUtils.C:82:7: error: no type named 'directory_iterator' in namespace 'boost::filesystem'; did you mean 'std::filesystem::directory_iterator'?
boost::filesystem::directory_iterator end_itr;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::filesystem::directory_iterator
Files
Updated by Rakesh Vidyadharan 6 months ago
For those interested in a quick fix, the attached patch works around it. Since I do not need previous boost version support, I did not bother with any version number check and use a more backwards compatible approach.
Updated by Matthias Van Ceulebroeck 5 months ago
- Priority changed from Normal to High
- Target version set to 4.11.0
Updated by Matthias Van Ceulebroeck 5 months ago
- Status changed from New to InProgress
- Assignee set to Matthias Van Ceulebroeck
Updated by Matthias Van Ceulebroeck 5 months ago
- Related to Bug #12676: Boost 1.8x.0 causes Wt compilation errors from boost::filesystem added
Updated by Matthias Van Ceulebroeck 5 months ago
- Status changed from InProgress to Review
- Assignee deleted (
Matthias Van Ceulebroeck)
Updated by Matthias Van Ceulebroeck 3 months ago
- Status changed from Review to Implemented @Emweb
- Assignee set to Matthias Van Ceulebroeck
- % Done changed from 0 to 100
Updated by Matthias Van Ceulebroeck 3 months ago
- Related to Bug #12872: Boost 1.85.0 removed filesystem/convenience.hpp, wt-homepage example compilation fails added
Updated by Matthias Van Ceulebroeck about 1 month ago
- Tracker changed from Support to Bug
Updated by Matthias Van Ceulebroeck about 1 month ago
- Status changed from Implemented @Emweb to Closed
Actions