[PPL-devel] [GIT] ppl/ppl(ppl-0_11-branch): Work around a bug showing up under mingw-w64.

Roberto Bagnara bagnara at cs.unipr.it
Wed Feb 23 13:24:17 CET 2011


Module: ppl/ppl
Branch: ppl-0_11-branch
Commit: 5e9b50198b500bfb8a827882ebaa40f1f6305dd4
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=5e9b50198b500bfb8a827882ebaa40f1f6305dd4

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Wed Feb 23 13:21:12 2011 +0100

Work around a bug showing up under mingw-w64.

---

 src/fpu-ia32.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/fpu-ia32.cc b/src/fpu-ia32.cc
index 21aa6e3..16e9aa1 100644
--- a/src/fpu-ia32.cc
+++ b/src/fpu-ia32.cc
@@ -30,6 +30,10 @@ site: http://www.cs.unipr.it/ppl/ . */
 #include "fpu.defs.hh"
 #include <csetjmp>
 #include <csignal>
+// This inclusion is to work around a bug present in some versions
+// of GCC under mingw-w64.
+// See http://www.cs.unipr.it/pipermail/ppl-devel/2011-February/017342.html
+#include <cstddef>
 
 namespace {
 




More information about the PPL-devel mailing list