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 <eirik.mikkelsen at unix.net>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4