[Numpy-discussion] Compilation problems npy_float64
Pauli Virtanen
pav at iki.fi
Thu Nov 5 15:07:51 EST 2015
Thu, 05 Nov 2015 16:26:18 +0000, Johan kirjoitti:
> Hello, I searched the forum, but couldn't find a post related to my
> problem. I am installing scipy via pip in cygwin environment
[clip]
> /usr/include/math.h:263:15: note: previous declaration ‘double
> infinity()’
> extern double infinity _PARAMS((void));
> ^
[clip]
This looks like some Cygwin weirdness --- a variable called
"infinity" is apparently there declared by math.h, and thus
a reserved name.
This was fixed by (but not for this reason)
https://github.com/scipy/scipy/commit/832baa20f0b5
so you may have better luck with the dev version.
--
Pauli Virtanen
More information about the NumPy-Discussion
mailing list