[Numpy-discussion] Numpy trunk and 1.4.x branch fail to build with VS2008
Charles R Harris
charlesr.harris@gmail....
Sat Nov 28 12:47:08 CST 2009
On Sat, Nov 28, 2009 at 11:27 AM, Christoph Gohlke <cgohlke@uci.edu> wrote:
> The current numpy sources from svn trunk (r7772 or newer) and the 1.4.x
> branch fail to build with Visual Studio 2008 with the following compiler
> error:
>
> numpy\core\src\multiarray\descriptor.h(16) : error C2133:
> '_datetime_strings' : unknown size
>
> A quick fix is to specify the size of the _datetime_strings array, e.g.
> _datetime_strings[14].
>
>
What happens if you just replace:
*_datetime_strings[];
by
**_datetime_strings;
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20091128/28e739ad/attachment.html
More information about the NumPy-Discussion
mailing list