Message15650
Logged In: YES
user_id=31392
There seem to be two causes of worry. The actual compiler
error in your build log and the use of _SGIAPI that
Casavanti warns again.
It looks like the compiler problems is because our
inet_ntop() prototype is wrong. That is Python says the
last argument is a socklen_t, but IRIX and Linux man pages
both say size_t. Perhaps size_t and socklen_t are different
sizes on IRIX, but not on Linux. What happens if you change
it to size_t?
The problematic code would appear to be these lines from
socketmodule.c:
#if defined(__sgi)&&_COMPILER_VERSION>700 && !_SGIAPI
/* make sure that the reentrant (gethostbyaddr_r etc)
functions are declared correctly if compiling with
MIPSPro 7.x in ANSI C mode (default) */
#define _SGIAPI 1
#include "netdb.h"
#endif
It's the only use the _SGIAPI symbol that Casavant says we
shouldn't use. What happens if you remove the use _SGIAPI,
i.e. just make it
#if defined(__sgi) && _COMPILER_VERSION > 700
/* make sure that the reentrant (gethostbyaddr_r etc)
functions are declared correctly if compiling with
MIPSPro 7.x in ANSI C mode (default) */
#include "netdb.h"
#endif
|
|
| Date |
User |
Action |
Args |
| 2007-08-23 14:12:48 | admin | link | issue728330 messages |
| 2007-08-23 14:12:48 | admin | create | |
|