[Scipy-tickets] [SciPy] #1673: interpolate.interpnd build issue on MinGW

SciPy Trac scipy-tickets@scipy....
Mon Jun 11 01:04:25 CDT 2012


#1673: interpolate.interpnd build issue on MinGW
-------------------------------+--------------------------------------------
 Reporter:  rgommers           |       Owner:  pv    
     Type:  defect             |      Status:  new   
 Priority:  highest            |   Milestone:  0.11.0
Component:  scipy.interpolate  |     Version:  devel 
 Keywords:                     |  
-------------------------------+--------------------------------------------
 For all Python versions, on OS X + wine.  This has to be a recently
 introduced issue.

 {{{
 building 'scipy.interpolate.interpnd' extension
 compiling C sources
 C compiler: gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes

 creating build\temp.win32-2.6\Release\scipy\interpolate
 compile options: '-IC:\Python26\lib\site-packages\numpy\core\include
 -IC:\Python26\include -IC:\Python26\PC -c'
 gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -IC:\Python26\lib\site-
 packages\numpy\core\include -IC:\Python26\include -IC:\Python26\PC -c
 scipy\interpolate\interpnd.c -o
 build\temp.win32-2.6\Release\scipy\interpolate\interpnd.o
 scipy\interpolate\interpnd.c: In function
 `__pyx_pf_5scipy_11interpolate_8interpnd_18NDInterpolatorBase___init__':
 scipy\interpolate\interpnd.c:1732: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c: In function
 `__pyx_pf_5scipy_11interpolate_8interpnd__ndim_coords_from_arrays':
 scipy\interpolate\interpnd.c:2478: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:2502: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:2630: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c: In function
 `__pyx_pf_5scipy_11interpolate_8interpnd_20LinearNDInterpolator_2_evaluate_double':
 scipy\interpolate\interpnd.c:3122: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:3139: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:3159: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c: In function
 `__pyx_pf_5scipy_11interpolate_8interpnd_20LinearNDInterpolator_4_evaluate_complex':
 scipy\interpolate\interpnd.c:3618: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:3635: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:3655: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c: In function
 `__pyx_pf_5scipy_11interpolate_8interpnd_2estimate_gradients_2d_global':
 scipy\interpolate\interpnd.c:4462: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c: In function
 `__pyx_pf_5scipy_11interpolate_8interpnd_26CloughTocher2DInterpolator_2_evaluate_double':
 scipy\interpolate\interpnd.c:5806: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:5823: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:5840: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:5860: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c: In function
 `__pyx_pf_5scipy_11interpolate_8interpnd_26CloughTocher2DInterpolator_4_evaluate_complex':
 scipy\interpolate\interpnd.c:6341: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:6358: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:6375: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:6395: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c: In function `initinterpnd':
 scipy\interpolate\interpnd.c:8786: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:8787: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:8788: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:8789: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:8790: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c: In function `__Pyx__PyObject_AsDouble':
 scipy\interpolate\interpnd.c:9193: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c: In function `__Pyx_GetBuffer':
 scipy\interpolate\interpnd.c:10077: warning: unused variable
 `getbuffer_cobj'
 scipy\interpolate\interpnd.c: In function `__Pyx_ReleaseBuffer':
 scipy\interpolate\interpnd.c:10117: warning: unused variable
 `releasebuffer_cobj'
 scipy\interpolate\interpnd.c: In function `__Pyx_FindPy2Metaclass':
 scipy\interpolate\interpnd.c:10249: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c: At top level:
 scipy\interpolate\interpnd.c:10580: error: initializer element is not
 constant
 scipy\interpolate\interpnd.c:10580: error: (near initialization for
 `__pyx_CyFunctionType_type.tp_call')
 scipy\interpolate\interpnd.c: In function `__Pyx_PyObject_IsTrue':
 scipy\interpolate\interpnd.c:11535: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c:11536: warning: dereferencing type-punned
 pointer will break strict-aliasing rules
 scipy\interpolate\interpnd.c: At top level:
 C:/Python26/lib/site-
 packages/numpy/core/include/numpy/__multiarray_api.h:1533: warning:
 '_import_array' defined but not used
 C:/Python26/lib/site-packages/numpy/core/include/numpy/__ufunc_api.h:227:
 warning: '_import_umath' defined but not used
 error: Command "gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes
 -IC:\Python26\lib\site-packages\numpy\core\include -IC:\Python26\include
 -IC:\Python26\PC -c scipy\interpolate\interpnd.c -o
 build\temp.win32-2.6\Release\scipy\interpolate\interpnd.o" failed with
 exit status 1
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1673>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list