Project

General

Profile

Actions

Support #12615

open

Boost 1.85 dropped directory_iterator

Added by Rakesh Vidyadharan 3 months ago. Updated 29 days ago.

Status:
Review
Priority:
High
Assignee:
-
Target version:
Start date:
04/17/2024
Due date:
% Done:

0%

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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Egor Pugin 3 months ago

+1

Actions #2

Updated by Rakesh Vidyadharan 2 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 2 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 29 days ago

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

Updated by Matthias Van Ceulebroeck 29 days ago

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

Updated by Matthias Van Ceulebroeck 29 days ago

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

Updated by Matthias Van Ceulebroeck 29 days ago

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

Also available in: Atom PDF