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

Roberto Bagnara bagnara at cs.unipr.it
Sun Feb 27 09:14:54 CET 2011


Module: ppl/ppl
Branch: master
Commit: 26c113f59e20e39da438e782bcd0631aa171d2cc
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=26c113f59e20e39da438e782bcd0631aa171d2cc

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