1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
Description: Fixes scipy.weave.inline compalition with g++ 4.3 and upwards
Author: Sameer Morar <smorar@gmail.com>
Forwarded: http://projects.scipy.org/scipy/scipy/ticket/739
Bug-Debian: http://bugs.debian.org/598520
Bug-Ubuntu: https://launchpad.net/bugs/302649
Index: python-scipy-0.8.0+dfsg1/scipy/weave/blitz/blitz/blitz.h
===================================================================
--- python-scipy-0.8.0+dfsg1.orig/scipy/weave/blitz/blitz/blitz.h 2010-07-26 10:48:37.000000000 -0400
+++ python-scipy-0.8.0+dfsg1/scipy/weave/blitz/blitz/blitz.h 2010-12-23 18:39:27.000000000 -0500
@@ -65,6 +65,8 @@
#define BZ_THROW // Needed in <blitz/numinquire.h>
+#include <cstdlib>
+
BZ_NAMESPACE(blitz)
#ifdef BZ_HAVE_STD
Index: python-scipy-0.8.0+dfsg1/scipy/weave/blitz/blitz/mathfunc.h
===================================================================
--- python-scipy-0.8.0+dfsg1.orig/scipy/weave/blitz/blitz/mathfunc.h 2010-07-26 10:48:37.000000000 -0400
+++ python-scipy-0.8.0+dfsg1/scipy/weave/blitz/blitz/mathfunc.h 2010-12-23 18:39:27.000000000 -0500
@@ -14,6 +14,8 @@
#include <cstdlib>
+#include <cstdlib>
+
BZ_NAMESPACE(blitz)
// abs(P_numtype1) Absolute value
Index: python-scipy-0.8.0+dfsg1/scipy/weave/blitz/blitz/prettyprint.h
===================================================================
--- python-scipy-0.8.0+dfsg1.orig/scipy/weave/blitz/blitz/prettyprint.h 2010-07-26 10:48:37.000000000 -0400
+++ python-scipy-0.8.0+dfsg1/scipy/weave/blitz/blitz/prettyprint.h 2010-12-23 18:39:27.000000000 -0500
@@ -22,6 +22,8 @@
#ifndef BZ_PRETTYPRINT_H
#define BZ_PRETTYPRINT_H
+#include <cstdlib>
+
BZ_NAMESPACE(blitz)
class prettyPrintFormat {
|