Project

General

Profile

Actions

Bug #14311

open

Compilation with C++17 filesystem is broken

Added by Erik Solem 3 days ago. Updated about 12 hours ago.

Status:
Review
Priority:
Normal
Assignee:
-
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 14 hours ago

  • Target version set to 4.12.3
Actions #2

Updated by Romain Mardulyn about 12 hours ago

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

Updated by Romain Mardulyn about 12 hours ago

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

Also available in: Atom PDF