Project

General

Profile

Actions

Bug #12615

closed

Boost 1.85 dropped directory_iterator

Added by Rakesh Vidyadharan 7 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
High
Target version:
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

wt.patch (3.05 KB) wt.patch Rakesh Vidyadharan, 05/16/2024 01:50 AM

Related issues 2 (0 open2 closed)

Related to Bug #12676: Boost 1.8x.0 causes Wt compilation errors from boost::filesystemRejected05/21/2024

Actions
Related to Bug #12872: Boost 1.85.0 removed filesystem/convenience.hpp, wt-homepage example compilation failsRejected08/01/2024

Actions
Actions #1

Updated by Egor Pugin 7 months ago

+1

Actions #2

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.

Actions #3

Updated by Stefan Bn 6 months ago

Just ran into the same issue and didn't notice this ticket. The Wt examples are also affected by this issue, see:

https://redmine.emweb.be/issues/12676

Actions #4

Updated by Matthias Van Ceulebroeck 5 months ago

  • Priority changed from Normal to High
  • Target version set to 4.11.0
Actions #5

Updated by Matthias Van Ceulebroeck 5 months ago

  • Status changed from New to InProgress
  • Assignee set to Matthias Van Ceulebroeck
Actions #6

Updated by Matthias Van Ceulebroeck 5 months ago

  • Related to Bug #12676: Boost 1.8x.0 causes Wt compilation errors from boost::filesystem added
Actions #7

Updated by Matthias Van Ceulebroeck 5 months ago

  • Status changed from InProgress to Review
  • Assignee deleted (Matthias Van Ceulebroeck)
Actions #8

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
Actions #9

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
Actions #10

Updated by Matthias Van Ceulebroeck about 1 month ago

  • Tracker changed from Support to Bug
Actions #11

Updated by Matthias Van Ceulebroeck about 1 month ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF