su, 2009-09-13 kello 01:47 +0300, Pauli Virtanen kirjoitti:
[clip]
> The error you get from the comma at the end of the enum must be because
> you have
> 
>       -pedantic -Werror
> 
> in your CFLAGS. Just
>       
>       unset CFLAGS
> 
> or so before compilation. Yes, comma at the end of enum list is not
> strictly valid C89, although it is valid C99 and already passes for most
> compilers.

Another possibility is that these flags come
from /usr/lib/pythonX.Y/config/Makefile -- in that case it's maybe
possible to override one of the the BASECFLAGS etc. variables with
environment vars.

Also, I see that

        OPT="-std=c89 -pedantic -Werror" python setup.py

won't succeed in current SVN, because apparently the configuration
detection code is not strict C89.

-- 
Pauli Virtanen



_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to