SGI C++ compile errors

Andrew Dalke dalke at
Thu Aug 5 18:26:34 EDT 1999

Jerry Tietz <tietz at> said:
> I am trying to compile an SGI C++ source
> file which contains the call Py_Initializ() but I
> get the following error messages:
> "/usr/people/beall/dev/Python-1.2/Include/mymalloc.h", line 64:

Whew!  That's really Python 1.2?  Can you use the current
version of Python, which is 1.5.2?

It looks like you're hitting something related to the
Great Renaming.  It's before my time, but as I understand
it, things like a Python-defined "malloc" have since been
renamed to Py_Malloc to fix this problem.

My shot in the dark guess is to comment out those two lines
and force casting if the compiler gives warnings elsewhere.

But you really should upgrade to the latest Python.

						Andrew Dalke
						dalke at

More information about the Python-list mailing list