[Numpy-discussion] CFLAGS= causes bad build

Charles R Harris charlesr.harris@gmail....
Thu Jun 19 12:54:32 CDT 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080619/c2fd3dc9/attachment.html 

More information about the Numpy-discussion mailing list