[SciPy-dev] [SciPy-user] gcc error

Travis Oliphant oliphant.travis at ieee.org
Sat Dec 10 11:39:27 CST 2005


Steve Schmerler wrote:

>Thanx for the *fast* _dotblas.c update :). But compiling scipy I get
>
>#########################################################################################################################################
>
>python scipy/setup.py install
>
>[...]
>
>  
>
Thanks for the note.  I changed something to get rid of a compiler 
warning but changed it badly.  I apologize for the mistake.  The recent 
tree instability was brought about by my moving the function pointers 
out of the type descr structure so that the PyArray_Descr structure just 
has a pointer to a function-pointer table.  Type descriptors are dynamic 
and can get copied around and this will save a little-bit of unnecessary 
jostling.

This has C-API issues for those who used direct access to the function 
pointers in the descr table.  Now, you reach them through the member 
named 'f'.  Thus what was descr->cast  is now descr->f->cast.

-Travis




More information about the Scipy-dev mailing list