Compiling Python 2-3.4 on Tru64 UNIX V4.0F

"Martin v. Löwis" martin at v.loewis.de
Tue Sep 7 14:36:58 EDT 2004


Heuguette Bostic wrote:
> cc: Warning: ./Modules/posixmodule.c, line 3007: "return" is an invalid preprocessor directive
> #       return PyInt_FromLong((long)getpgrp(0));
> --------^
[...]
> Does anyone have any suggestions to help me resolve this problem?  Any help would be appreciated.

I would start with downloading the original Python source code. Line
3007 of posixmodule.c should not start with a hashmark. Why does it
in your copy?

Regards,
Martin



More information about the Python-list mailing list