kwgoodman/bottleneck — Issue #33: compiler warnings
Author: josef-pkt
Created: 2012-02-24 15:29:02+00:00
State: open

I just installed bottleneck with easy_install on Windows with MingW 4.? (32bit python on 64 bit computer)
Works without problems, test suite passes but there are a few compiler warnings

```
Searching for bottleneck
Reading http://pypi.python.org/simple/bottleneck/
Reading http://berkeleyanalytics.com/bottleneck
Best match: Bottleneck 0.5.0
Downloading http://pypi.python.org/packages/source/B/Bottleneck/Bottleneck-0.5.0.tar.gz#md5=65f2b3be0ca74b859392d554a48a0906
Processing Bottleneck-0.5.0.tar.gz
Running Bottleneck-0.5.0\setup.py -q bdist_egg --dist-dir c:\users\josef\appdata\local\temp\easy_install-hagefy\Bottleneck-0.5.0\egg-dist-tmp-hf63me
package init file 'bottleneck/tests\__init__.py' not found (or not a regular file)
package init file 'bottleneck/src/func\__init__.py' not found (or not a regular file)
package init file 'bottleneck/src/move\__init__.py' not found (or not a regular file)
bottleneck/src/func/32bit/func.c: In function '__Pyx_RaiseArgtupleInvalid':
bottleneck/src/func/32bit/func.c:247114: warning: unknown conversion type character 'z' in format
bottleneck/src/func/32bit/func.c:247114: warning: format '%s' expects type 'char *', but argument 5 has type 'Py_ssize_t'
bottleneck/src/func/32bit/func.c:247114: warning: unknown conversion type character 'z' in format
bottleneck/src/func/32bit/func.c:247114: warning: too many arguments for format
bottleneck/src/func/32bit/func.c: In function '__Pyx_RaiseNeedMoreValuesError':
bottleneck/src/func/32bit/func.c:247124: warning: unknown conversion type character 'z' in format
bottleneck/src/func/32bit/func.c:247124: warning: format '%s' expects type 'char *', but argument 3 has type 'Py_ssize_t'
bottleneck/src/func/32bit/func.c:247124: warning: too many arguments for format
bottleneck/src/func/32bit/func.c: In function '__Pyx_RaiseTooManyValuesError':
bottleneck/src/func/32bit/func.c:247132: warning: unknown conversion type character 'z' in format
bottleneck/src/func/32bit/func.c:247132: warning: too many arguments for format
bottleneck/src/func/32bit/func.c: At top level:
C:\Python26\lib\site-packages\numpy\core\include/numpy/__ufunc_api.h:196: warning: '_import_umath' defined but not used
bottleneck/src/move/32bit/move.c: In function '__Pyx_RaiseArgtupleInvalid':
bottleneck/src/move/32bit/move.c:203854: warning: unknown conversion type character 'z' in format
bottleneck/src/move/32bit/move.c:203854: warning: format '%s' expects type 'char *', but argument 5 has type 'Py_ssize_t'
bottleneck/src/move/32bit/move.c:203854: warning: unknown conversion type character 'z' in format
bottleneck/src/move/32bit/move.c:203854: warning: too many arguments for format
bottleneck/src/move/32bit/move.c: In function '__Pyx_RaiseNeedMoreValuesError':
bottleneck/src/move/32bit/move.c:203956: warning: unknown conversion type character 'z' in format
bottleneck/src/move/32bit/move.c:203956: warning: format '%s' expects type 'char *', but argument 3 has type 'Py_ssize_t'
bottleneck/src/move/32bit/move.c:203956: warning: too many arguments for format
bottleneck/src/move/32bit/move.c: In function '__Pyx_RaiseTooManyValuesError':
bottleneck/src/move/32bit/move.c:203964: warning: unknown conversion type character 'z' in format
bottleneck/src/move/32bit/move.c:203964: warning: too many arguments for format
bottleneck/src/move/32bit/move.c: At top level:
C:\Python26\lib\site-packages\numpy\core\include/numpy/__ufunc_api.h:196: warning: '_import_umath' defined but not used
zip_safe flag not set; analyzing archive contents...
Adding bottleneck 0.5.0 to easy-install.pth file

Installed c:\python26\lib\site-packages\bottleneck-0.5.0-py2.6-win32.egg
Processing dependencies for bottleneck
Finished processing dependencies for bottleneck

E:\>python
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import bottleneck as bo
>>> bo.test()
<...>
NumPy version 1.5.1
NumPy is installed in C:\Python26\lib\site-packages\numpy
Python version 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
nose version 1.0.0
................................................................................
----------------------------------------------------------------------
Ran 80 tests in 36.863s

OK

```