Permalink
Browse files

Final 3.2.2 release

  • Loading branch information...
1 parent 06537ef commit 9edc6fa04fd06d74413d8b9f20a9a3b642a89e5e Koen Deforche committed Jul 23, 2012
Showing with 22 additions and 1 deletion.
  1. +5 −0 Changelog
  2. +1 −1 ReleaseNotes.html
  3. +16 −0 src/web/WebController.C
View
@@ -1,3 +1,8 @@
+23-07-2012:
+ * WebController: workaround filesystem runtime problem for boost 1.50
+
+ * Wt-3.2.2
+
16-07-2012:
* Wt: fix compile issues with boost 1.50
View
@@ -22,7 +22,7 @@
the way you build Wt, the way you configure Wt or the Wt API and
behaviour.
-<h2>Release 3.2.2-rc2 (July, 16 2012)</h2>
+<h2>Release 3.2.2 (July, 23 2012)</h2>
<p>
This release contains mostly bug and feature improvements, but
@@ -39,6 +39,11 @@
#include <magick/api.h>
#endif
+#ifndef WT_HAVE_POSIX_FILEIO
+// boost bug workaround: see WebController constructor
+#include <boost/filesystem.hpp>
+#endif
+
namespace Wt {
LOGGER("WebController");
@@ -65,6 +70,17 @@ WebController::WebController(WServer& server,
#ifdef HAVE_RASTER_IMAGE
InitializeMagick(0);
#endif
+
+#ifndef WT_HAVE_POSIX_FILEIO
+ // attempted workaround for:
+ // https://svn.boost.org/trac/boost/ticket/6320
+ // https://svn.boost.org/trac/boost/ticket/4889
+ // https://svn.boost.org/trac/boost/ticket/6690
+ // https://svn.boost.org/trac/boost/ticket/6737
+ // Invoking the path constructor here should create the global variables
+ // in boost.filesystem before the threads are started.
+ boost::filesystem::path bugFixFilePath("please-initialize-globals");
+#endif
}
WebController::~WebController()

0 comments on commit 9edc6fa

Please sign in to comment.