[Numpy-discussion] Numpy trunk and 1.4.x branch fail to build with VS2008

Charles R Harris charlesr.harris@gmail....
Sat Nov 28 13:21:54 CST 2009

On Sat, Nov 28, 2009 at 12:07 PM, Christoph Gohlke <cgohlke@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[];*/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20091128/5cef2ce3/attachment.html 

More information about the NumPy-Discussion mailing list