Project

General

Profile

Actions

Bug #14311

closed

Compilation with C++17 filesystem is broken

Added by Erik Solem about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
02/06/2026
Due date:
% Done:

0%

Estimated time:

Description

When I compile with -DWT_CPP17_FILESYSTEM_IMPLEMENTATION="std", compilation fails because the file WDocRootDataInfo.C (introduced fairly recently) uses Boost.Filesystem directly instead of using your feature-flag-aware cpp17::filesystem.

The fix is trivial. I submitted a pull request on GitHub and also attached that diff as a patch file in this issue
https://github.com/emweb/wt/pull/237


Files

Wt-filesystem.patch (1.31 KB) Wt-filesystem.patch Suggested patch Erik Solem, 02/06/2026 05:27 PM
Actions #1

Updated by Romain Mardulyn about 2 months ago

  • Target version set to 4.12.3
Actions #2

Updated by Romain Mardulyn about 2 months ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
Actions #3

Updated by Romain Mardulyn about 2 months ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions #4

Updated by Matthias Van Ceulebroeck about 2 months ago

  • Assignee set to Matthias Van Ceulebroeck
Actions #5

Updated by Romain Mardulyn about 2 months ago

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
Actions #6

Updated by Romain Mardulyn about 1 month ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF