Project

General

Profile

Actions

Bug #14311

closed
ES RM

Compilation with C++17 filesystem is broken

Bug #14311: Compilation with C++17 filesystem is broken

Added by Erik Solem 7 months ago. Updated 7 months 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

RM Updated by Romain Mardulyn 7 months ago Actions #1

  • Target version set to 4.12.3

RM Updated by Romain Mardulyn 7 months ago Actions #2

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn

RM Updated by Romain Mardulyn 7 months ago Actions #3

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

MV Updated by Matthias Van Ceulebroeck 7 months ago Actions #4

  • Assignee set to Matthias Van Ceulebroeck

RM Updated by Romain Mardulyn 7 months ago Actions #5

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

RM Updated by Romain Mardulyn 7 months ago Actions #6

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: PDF Atom