[Numpy-discussion] CFLAGS= causes bad build

Charles R Harris charlesr.harris at gmail.com
Thu Jun 19 13:54:32 EDT 2008


Having an empty CFLAGS environment variable and running

$ python setup.py build

emits tons of these messages:

numpy/core/src/scalartypes.inc.src: In function 'scalar_value':
numpy/core/src/scalartypes.inc.src:77: warning: dereferencing type-punned
pointer will break strict-aliasing rules

The compile flags are missing -fno-strict-aliasing. I don't know if this is
a problem with the python distutils or what, but it would be nice if it
didn't occur.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080619/c2fd3dc9/attachment.html>


More information about the NumPy-Discussion mailing list