In file included from ./Include/Python.h:80:0,
from Objects/complexobject.c:8:
Objects/complexobject.c: In function '_Py_c_quot':
./Include/pymath.h:160:33: error: invalid operands to binary * (have '__attribute__((const)) double (*)(void)' and 'double')
#define Py_NAN (Py_HUGE_VAL * 0.)
^
Objects/complexobject.c:115:27: note: in expansion of macro 'Py_NAN'
r.real = r.imag = Py_NAN;
^
Objects/complexobject.c: In function '_Py_c_abs':
./Include/pymath.h:160:33: error: invalid operands to binary * (have '__attribute__((const)) double (*)(void)' and 'double')
#define Py_NAN (Py_HUGE_VAL * 0.)
^
Objects/complexobject.c:201:16: note: in expansion of macro 'Py_NAN'
return Py_NAN;
^
In file included from ./Include/Python.h:50:0,
from Objects/complexobject.c:8:
Objects/complexobject.c: In function 'complex_pow':
./Include/pyport.h:372:17: error: invalid operands to binary == (have 'double' and '__attribute__((const)) double (*)(void)')
if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL || \
^
Objects/complexobject.c:543:5: note: in expansion of macro 'Py_ADJUST_ERANGE2'
Py_ADJUST_ERANGE2(p.real, p.imag);
^
./Include/pyport.h:372:42: error: wrong type argument to unary minus
if ((X) == Py_HUGE_VAL || (X) == -Py_HUGE_VAL || \
^
Objects/complexobject.c:543:5: note: in expansion of macro 'Py_ADJUST_ERANGE2'
Py_ADJUST_ERANGE2(p.real, p.imag);
^
./Include/pyport.h:373:17: error: invalid operands to binary == (have 'double' and '__attribute__((const)) double (*)(void)')
(Y) == Py_HUGE_VAL || (Y) == -Py_HUGE_VAL) { \
^
Objects/complexobject.c:543:5: note: in expansion of macro 'Py_ADJUST_ERANGE2'
Py_ADJUST_ERANGE2(p.real, p.imag);
^
./Include/pyport.h:373:42: error: wrong type argument to unary minus
(Y) == Py_HUGE_VAL || (Y) == -Py_HUGE_VAL) { \
^
Objects/complexobject.c:543:5: note: in expansion of macro 'Py_ADJUST_ERANGE2'
Py_ADJUST_ERANGE2(p.real, p.imag);
^
make[3]: *** [Makefile:1803: Objects/complexobject.o] Error 1
make[2]: *** [Makefile:533: build_all_generate_profile] Error 2
make[1]: *** [Makefile:509: profile-gen-stamp] Error 2
make: *** [Makefile:521: profile-run-stamp] Error 2