On Thu, Mar 29, 2012 at 2:25 AM, Stefan Behnel <stefan...@behnel.de> wrote:
> Robert Bradshaw, 29.03.2012 11:19:
>>>> On 27 March 2012 17:20, Stefan Behnel wrote:
>>>>> the NumPy related tests use a file "numpy_common.pxi" that contains this
>>>>> useless code:
>>>>>
>>>>> """
>>>>> cdef extern from *:
>>>>>   bint FALSE "0"
>>>>>   void import_array()
>>>>>   void import_umath()
>>>>>
>>>>> if FALSE:
>>>>>    import_array()
>>>>>    import_umath()
>>>>> """
>>
>> I see you disabled this in the release branch (resulting in the
>> useless /numpy/core/include/numpy/__multiarray_api.h:1187: warning:
>> ‘int _import_array()’ defined but not used). Was this intentional?
>
> What's the alternative? It currently breaks the C++ tests - I think a
> warning (in addition to those that are there already) is much better than
> an entire test that fails to compile.

Perhaps just comment out the problematic import_umath().
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to