On Thu, 2004-12-16 at 12:30 +0000, Johan Carlstedt wrote: > Hello, > > I am having problems compiling Python 2.3.3 on Solaris 10 X86 using gcc > 3.4.1. The error message below is generated. > [SNIP] > Objects/complexobject.c > Objects/complexobject.c: In function `complex_pow': > Objects/complexobject.c:469: error: invalid operands to binary == > Objects/complexobject.c:469: error: wrong type argument to unary minus > Objects/complexobject.c:469: error: invalid operands to binary == > Objects/complexobject.c:469: error: wrong type argument to unary minus
Solaris 10 doesn't correctly define HUGE_VAL (I think it's called HUGE in their header files) - so you may want to change the #define in Include/pyport.h from #define Py_HUGE_VAL HUGE_VAL to #define Py_HUGE_VAL HUGE -- Eirik Mikkelsen <[EMAIL PROTECTED]> _______________________________________________ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com