Re: [Numpy-discussion] CFLAGS= causes bad build

2008-06-19 Thread David Cournapeau
Charles R Harris wrote: > 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. Yes. That's one of the reasons why I started numscons. The current behavior in numpy.distutils is for t

[Numpy-discussion] CFLAGS= causes bad build

2008-06-19 Thread Charles R Harris
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 co