Project

General

Profile

Boost 1.85.0 breaks build

Added by Enrico Belleri 7 months ago

directory.hpp needs to be explicitly included to introduce the component directory_iterator recently removed from operations.hpp

Wt version: 4.10.4

--- wt-4.10.4.orig/src/web/FileUtils.C
+++ wt-4.10.4/src/web/FileUtils.C
@@ -7,6 +7,7 @@
 #include "web/FileUtils.h"

 #include <boost/filesystem/operations.hpp>
+#include <boost/filesystem/directory.hpp>

 #include "web/WebUtils.h"
 #include "Wt/WException.h"

Replies (2)

RE: Boost 1.85.0 breaks build - Added by Stefan Bn 7 months ago

I issued a ticket for this (also, several of Wt examples get broken):

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

RE: Boost 1.85.0 breaks build - Added by Matthias Van Ceulebroeck 6 months ago

For posterity. This was implemented in #12615. It is currently under review, but slated to be added to Wt 4.11.

    (1-2/2)