[Python-Dev] 2.2.1c1 platform reports.

Fredrik Lundh fredrik@pythonware.com
2002年3月22日 16:20:45 +0100


> Hardware: Cray (!) J90
> OS: UNICOS 10.0.0.3
>=20
> Got nowhere, as it couldn't define PY_UNICODE_TYPE.
>=20
> Asked tester to try --disable-unicode and it dies in _sre.c:
>=20
> cc -DNDEBUG -O -I. -I./Include -DHAVE_CONFIG_H -c ./Modules/_sre.c =
-o Modules/_sre.o
> CC-147 cc: ERROR File =3D ./Modules/_sre.c, Line =3D 1791
> Declaration is incompatible with "int join(char *, char *)" =
(declared at line
> 300 of "/usr/include/unistd.h").
>=20
> join(PyObject* list, PyObject* pattern)

that's an internal, static function. try renaming it to _sre_join
(it's called once, towards the end of pattern_subx)
</F>

AltStyle によって変換されたページ (->オリジナル) /