[jaunty] scipy.weave fails completely

Bug #367738 reported by Tom
2
Affects Status Importance Assigned to Milestone
python-scipy (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-scipy

Running the simple python program below results in the copious output from scipy.weave.

There seems to be some kind of version incompatibility here:
-- scipy.weave passes read-only strings as writable strings, but the shipping version of gcc complains (warning)
-- scipy.weave is making references to abs(...) that the shipping version of gcc considers ambiguous (fatal)

This is potentially quite serious because it breaks high performance numerical code

See also here: http://projects.scipy.org/scipy/ticket/739

scipy.weave should probably be patched, either to fix this, or to use gcc-4.2

=== INPUT ===
import scipy,numpy
from scipy import weave
from scipy.weave import converters

def test():
    a = numpy.zeros(10)
    code = """a(0) = 1;"""
    weave.inline(code,"a".split(),
                 type_converters=converters.blitz)
    return a

print test()

=== OUTPUT ===
In file included from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/applics.h:400,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vecexpr.h:32,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vecpick.cc:16,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vecpick.h:293,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vector.h:449,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/tinyvec.h:430,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array-impl.h:44,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array.h:32,
                 from /home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:11:
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/mathfunc.h: In static member function 'static long int blitz::_bz_abs<long int>::apply(long int)':
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/mathfunc.h:45: error: 'labs' is not a member of 'std'
In file included from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array/funcs.h:29,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array/newet.h:29,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array/et.h:27,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array-impl.h:2515,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array.h:32,
                 from /home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:11:
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h: In static member function 'static int blitz::Fn_abs<int>::apply(int)':
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h:509: error: call of overloaded 'abs(int&)' is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double std::abs(long double)
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h: In static member function 'static long int blitz::Fn_abs<long int>::apply(long int)':
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h:530: error: 'labs' is not a member of 'std'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp: In function 'char* find_type(PyObject*)':
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:35: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:36: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:37: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:38: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:39: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:40: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:41: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:42: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:43: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:44: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:47: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:48: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:49: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:50: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp: In member function 'void numpy_type_handler::conversion_numpy_check_type(PyArrayObject*, int, const char*)':
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp: In member function 'void numpy_type_handler::numpy_check_type(PyArrayObject*, int, const char*)':
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp: In function 'PyObject* compiled_func(PyObject*, PyObject*)':
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:701: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:702: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:704: warning: deprecated conversion from string constant to 'char*'
<weave: compiling>
In file included from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/applics.h:400,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vecexpr.h:32,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vecpick.cc:16,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vecpick.h:293,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/vector.h:449,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/tinyvec.h:430,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array-impl.h:44,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array.h:32,
                 from /home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:11:
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/mathfunc.h: In static member function 'static long int blitz::_bz_abs<long int>::apply(long int)':
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/mathfunc.h:45: error: 'labs' is not a member of 'std'
In file included from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array/funcs.h:29,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array/newet.h:29,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array/et.h:27,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array-impl.h:2515,
                 from /usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/array.h:32,
                 from /home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:11:
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h: In static member function 'static int blitz::Fn_abs<int>::apply(int)':
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h:509: error: call of overloaded 'abs(int&)' is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double std::abs(long double)
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h: In static member function 'static long int blitz::Fn_abs<long int>::apply(long int)':
/usr/lib/python2.5/site-packages/scipy/weave/blitz/blitz/funcs.h:530: error: 'labs' is not a member of 'std'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp: In function 'char* find_type(PyObject*)':
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:35: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:36: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:37: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:38: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:39: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:40: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:41: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:42: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:43: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:44: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:47: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:48: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:49: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:50: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp: In member function 'void numpy_type_handler::conversion_numpy_check_type(PyArrayObject*, int, const char*)':
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:500: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp: In member function 'void numpy_type_handler::numpy_check_type(PyArrayObject*, int, const char*)':
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:525: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp: In function 'PyObject* compiled_func(PyObject*, PyObject*)':
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:701: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:702: warning: deprecated conversion from string constant to 'char*'
/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp:704: warning: deprecated conversion from string constant to 'char*'
Traceback (most recent call last):
  File "<stdin>", line 12, in <module>
  File "<stdin>", line 9, in test
  File "/usr/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 339, in inline
    **kw)
  File "/usr/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 447, in compile_function
    verbose=verbose, **kw)
  File "/usr/lib/python2.5/site-packages/scipy/weave/ext_tools.py", line 365, in compile
    verbose = verbose, **kw)
  File "/usr/lib/python2.5/site-packages/scipy/weave/build_tools.py", line 269, in build_extension
    setup(name = module_name, ext_modules = [ext],verbose=verb)
  File "/usr/lib/python2.5/site-packages/numpy/distutils/core.py", line 184, in setup
    return old_setup(**new_attr)
  File "/usr/lib/python2.5/distutils/core.py", line 168, in setup
    raise SystemExit, "error: " + str(msg)
scipy.weave.build_tools.CompileError: error: Command "g++ -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -fPIC -I/usr/lib/python2.5/site-packages/scipy/weave -I/usr/lib/python2.5/site-packages/scipy/weave/scxx -I/usr/lib/python2.5/site-packages/scipy/weave/blitz -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/python2.5 -c /home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.cpp -o /tmp/tmb/python25_intermediate/compiler_d413cf6bea5475e510b2b9d0e2b90c20/home/tmb/.python25_compiled/sc_0306014cd7069365950de96a223f48a20.o" failed with exit status 1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.