On Sat, Nov 28, 2009 at 12:07 PM, Christoph Gohlke <cgoh...@uci.edu> wrote:

> Changing *_datetime_strings[] to **_datetime_strings in descriptor.h
> results in the following compiler error:
>
> numpy\core\src\multiarray\descriptor.c(472) : error C2372:
> '_datetime_strings' : redefinition; different types of indirection
>
> numpy\core\src\multiarray\descriptor.h(16) : see declaration of
> '_datetime_strings'
>
>
The problem is that the bit in the header looks like a declaration. Try
commenting out the line like so:

/*NPY_NO_EXPORT char *_datetime_strings[];*/

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

Reply via email to